---
title: RDS Blue/Green Deployment
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > RDS Blue/Green Deployment
---

# RDS Blue/Green Deployment

RDS Blue/Green Deployment in AWS allows you to create a fully managed staging environment (green) that mirrors your production environment (blue). This enables safe testing of database changes, schema updates, or engine upgrades without impacting live workloads. Once validated, you can switch traffic from blue to green with minimal downtime, reducing risk during updates.

```
aws.rds_blue_green_deployment
```

## Fields

| Title                            | ID   | Type       | Data Type                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | Description |
| -------------------------------- | ---- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                             | core | string     |
| account_id                       | core | string     |
| blue_green_deployment_identifier | core | string     | The unique identifier of the blue/green deployment.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| blue_green_deployment_name       | core | string     | The user-supplied name of the blue/green deployment.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| create_time                      | core | timestamp  | The time when the blue/green deployment was created, in Universal Coordinated Time (UTC).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| delete_time                      | core | timestamp  | The time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| status                           | core | string     | The status of the blue/green deployment. Valid Values: PROVISIONING - Resources are being created in the green environment. AVAILABLE - Resources are available in the green environment. SWITCHOVER_IN_PROGRESS - The deployment is being switched from the blue environment to the green environment. SWITCHOVER_COMPLETED - Switchover from the blue environment to the green environment is complete. INVALID_CONFIGURATION - Resources in the green environment are invalid, so switchover isn't possible. SWITCHOVER_FAILED - Switchover was attempted but failed. DELETING - The blue/green deployment is being deleted. |
| status_details                   | core | string     | Additional information about the status of the blue/green deployment.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| switchover_details               | core | json       | The details about each source and target resource in the blue/green deployment.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| tags                             | core | hstore_csv |
| target                           | core | string     | The target database for the blue/green deployment. Before switchover, the target database is the clone database in the green environment.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| tasks                            | core | json       | Either tasks to be performed or tasks that have been completed on the target database before switchover.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
