-
-
Notifications
You must be signed in to change notification settings - Fork 552
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
fix: Allow cluster_settings
to be list of maps instead of single map
#157
fix: Allow cluster_settings
to be list of maps instead of single map
#157
Conversation
cluster_settings
as list of maps instead of single map
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.
why is this change warranted if the only value that ECS supports is containerInsights? https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_cluster#setting
@bryantbiggs maybe it's a wrong declaration of a PR from my side and needs to be renamed to the |
@antonbabenko what are your thoughts on creating a temporary v6 branch to pull in these various PRs that are breaking changes and then once those are complete, merge in that branch as the next major release? Trying to think of a way to allow crowd sourcing these changes instead of the normal way (i.e. - one person bunches everything up in a breaking change PR on their own)? I started a milestone to track these changes https://github.com/terraform-aws-modules/terraform-aws-ecs/milestone/1 |
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.
I think we can make it without introducing the BC break.
@bryantbiggs We can have v6
branch for small crowd-sourcing PRs like you said, but I don't think that this one is actually breaking anything and we can make it to v5
without introducing breaking changes.
@bryantbiggs I've tested with cluster_settings = [{
name = "containerInsights"
value = "disabled"
}] or
The PR description has been updated accordingly. @antonbabenko thanks for the suggestion 💪 |
@ivan-sukhomlyn Looks good to me, and it is not a breaking change anymore. :) @bryantbiggs I don't know what has changed in GitHub, but we suddenly get "WIP" checks blocking the merge. I disabled "WIP" on all our repositories. |
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.
its the WIP bot that just won't die 😅
This WIP bot made everybody look busy working on everything at once :) |
cluster_settings
as list of maps instead of single mapcluster_settings
to be list of maps instead of single map
### [5.8.1](v5.8.0...v5.8.1) (2024-02-12) ### Bug Fixes * Allow `cluster_settings` to be list of maps instead of single map ([#157](#157)) ([c32a657](c32a657))
This PR is included in version 5.8.1 🎉 |
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. |
Description
Define
cluster_settings
as a list of maps to possibly define other parameters in the future.Motivation and Context
Currently, a single containerInsights parameter can be defined.
Breaking Changes
No, using flatten list at the
for_each
meta-argument allows to use both map and list value at thecluster_settings
variable.How Has This Been Tested?
examples/*
to demonstrate and validate my change(s)examples/*
projectspre-commit run -a
on my pull requestdefine a custom value for
cluster_settings
as a list of maps or a map.For example,
or