-
-
Notifications
You must be signed in to change notification settings - Fork 615
feat: Add support for advanced deployment configurations (i.e. - blue/green deployment) #322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add support for advanced deployment configurations (i.e. - blue/green deployment) #322
Conversation
modules/service/main.tf
Outdated
for_each = var.deployment_configuration != null ? [var.deployment_configuration] : [] | ||
|
||
content { | ||
strategy = try(deployment_configuration.value.strategy, null) |
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you!
## [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))
This PR is included in version 6.1.0 🎉 |
Description
Support blue/green deployments.
Motivation and Context
Closes: #320
Breaking Changes
No.
How Has This Been Tested?
examples/*
to demonstrate and validate my change(s)examples/*
projectspre-commit run -a
on my pull request