[Enhancement]: Allow creating blue green deployment without running switchover
Author: shawon-crosenCreated Mar 27, 2024Updated Sep 28, 2026
Labelsenhancementservice/rds
Description
Currently when setting blue_green_update { "enabled" = true } terraform creates a green copy, does the switchover, and deletes the old blue database.
This does not allow us to run a green copy with the blue copy and make changes to the green copy, or run any additional validation.
It would be nice if we could have another option in the blue_green_update map that is switchover or something like that to trigger the actual switch, and allow the enabled option to just create the blue green deployment
Affected Resource(s) and/or Data Source(s)
aws_db_instance
Potential Terraform Configuration
resource "aws_db_instance" "example" {
identifier = "example"
engine = "postgres"
engine_version = 16.2
blue_green_update {
enabled = true
switchover = false
}
}References
No response
Would you like to implement a fix?
None
Source: hashicorp/terraform-provider-aws