Skip to content

Conversation

magreenbaum
Copy link
Member

@magreenbaum magreenbaum commented Jul 20, 2025

Description

Support blue/green deployments.

Motivation and Context

Closes: #320

Breaking Changes

No.

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

for_each = var.deployment_configuration != null ? [var.deployment_configuration] : []

content {
strategy = try(deployment_configuration.value.strategy, null)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with the optional attributes, we don't need to follow this pattern anymore and can simply drop the try(xxxx, null) pattern. the optional(xxx) means that if a value wasn't provided, you will get null in return (unless a default is provided with optional(xxx, "default something") - then you will get the default value)

@bryantbiggs bryantbiggs changed the title feat: Blue/Green Deployments feat: Add support for advanced deployment configurations (i.e. - blue/green deployment) Jul 21, 2025
Copy link
Member

@bryantbiggs bryantbiggs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@bryantbiggs bryantbiggs merged commit 010e581 into terraform-aws-modules:master Jul 21, 2025
13 checks passed
antonbabenko pushed a commit that referenced this pull request Jul 21, 2025
## [6.1.0](v6.0.6...v6.1.0) (2025-07-21)

### Features

* Add support for advanced deployment configurations (i.e. - blue/green deployment) ([#322](#322)) ([010e581](010e581))
@antonbabenko
Copy link
Member

This PR is included in version 6.1.0 🎉

@magreenbaum magreenbaum deleted the feat/blue_green_deployments branch July 21, 2025 23:24
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Blue/Green deployment build-in AWS ECS
3 participants