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

TitleIDTypeData TypeDescription
_keycorestring
account_idcorestring
blue_green_deployment_identifiercorestringThe unique identifier of the blue/green deployment.
blue_green_deployment_namecorestringThe user-supplied name of the blue/green deployment.
create_timecoretimestampThe time when the blue/green deployment was created, in Universal Coordinated Time (UTC).
delete_timecoretimestampThe time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).
statuscorestringThe 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_detailscorestringAdditional information about the status of the blue/green deployment.
switchover_detailscorejsonThe details about each source and target resource in the blue/green deployment.
tagscorehstore
targetcorestringThe target database for the blue/green deployment. Before switchover, the target database is the clone database in the green environment.
taskscorejsonEither tasks to be performed or tasks that have been completed on the target database before switchover.