[Bug]: RDS blue green deployment unexpected behaviour of switchover. #40238
Labels
bug
Addresses a defect in current functionality.
needs-triage
Waiting for first response or review from a maintainer.
Terraform Core Version
1.9.8
AWS Provider Version
5.75.1
Affected Resource(s)
aws_db_instance
Expected Behavior
Create Blue/Green deployment at T0, user should be able to apply the changes to the Green instance at T1 and perfrom the switch over to green instance at T2.
Actual Behavior
By enabling blue green deployment using below
blue_green_update {
enabled = true
}
apply_immediately=true
AWS Terraform provider is automatically performing below steps without any further inout from the user.
There is no way user can control the switchover and deletion of old instance which is totally an unexpected behaviour.
The purpose of creating blue green deployment is to perform low downtime maintenance(including schema changes) by performing the changes on the green instance and perform a switchover when READY.
With the current behaviour , there is no use in creating a blue green deployment as user do not have control of step 3 and 4 mentioned above.
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
blue_green_update {
enabled = true
}
apply_immediately=true
Steps to Reproduce
Please add the below block to aws postgresql RDS instance terraform configuration
blue_green_update {
enabled = true
apply_immediately=true
}
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: