Skip to content

feat: Add auto_switchover to blue_green_update for two-apply Blue/Green deployments#623

Open
cortfritz wants to merge 1 commit intoterraform-aws-modules:masterfrom
cortfritz:f-blue_green_auto_switchover
Open

feat: Add auto_switchover to blue_green_update for two-apply Blue/Green deployments#623
cortfritz wants to merge 1 commit intoterraform-aws-modules:masterfrom
cortfritz:f-blue_green_auto_switchover

Conversation

@cortfritz
Copy link
Copy Markdown

Summary

  • Add auto_switchover (optional, defaults to true) to the blue_green_update variable type in root and db_instance submodule
  • Pass through auto_switchover in the db_instance dynamic block
  • Add example showing the two-apply switchover guard workflow

Dependencies

Requires hashicorp/terraform-provider-aws#46837 to merge and release first. The versions.tf provider constraint will need to be updated to the release version that includes auto_switchover support.

Test plan

  • terraform fmt -recursive passes
  • terraform validate passes (once provider version with auto_switchover is available)
  • Existing blue_green_update usage unchanged (auto_switchover defaults to true)
  • Wrappers pass through correctly via try() without changes

Pass through the new auto_switchover argument from the
blue_green_update block to support two-apply Blue/Green
deployment workflows.

Requires hashicorp/terraform-provider-aws with
auto_switchover support (hashicorp/terraform-provider-aws#46837).
@github-actions
Copy link
Copy Markdown

This PR has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this PR will be closed in 10 days

@github-actions github-actions bot added the stale label Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant