-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Unable to have more than one profile in fargate_profiles #1245
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I haven't tried the suggested solution yet (to be honest, I'd rather not cloning the module in the project I need it for), but I confirm that this happens not only when you try to add a profile to an existing cluster, but even attempting to create a cluster with more than one fargate profile. |
Thanks! I adjusted the title and added an EDIT to the original report. I could just make a pull request for this and see what happens. I'm mostly concerned about backwards compatibility/breaking changes. But I guess they could just bump the major version and be safe. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
v17.19.0 has been just released with this fix. See |
I'm going to lock this issue 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 similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
I have issues
I'm using Terraform v0.14.6. When I try to add a new item to
fargate_profiles
I get an error duringterraform plan
.I'm submitting a...
What is the current behavior?
terraform plan
shows this:If this is a bug, how to reproduce? Please include a code sample if relevant.
Have an instance of this module with
fargate_profiles
, after a successfulterraform apply
try to add a new item tofargate_profiles
and runterraform plan
.EDIT: Looks like this happens whenever you have more than one fargate profile, not only when adding a new one (see comments below).
What's the expected behavior?
terraform plan
should work and show the newaws_eks_fargate_profile
resources being created.Are you able to fix this problem and submit a PR? Link here if you have already.
I don't have a PR because I'm not sure what is correct solution for this, but I made a copy of this module locally and changed this:
With this:
To workaround the issue for now.
In other words, I changed
{}
withnull
. Not even sure howfor_each
works withnull
, but since it didn't complain, I decided to leave it like this until we find the correct fix.Environment details
Thanks!
The text was updated successfully, but these errors were encountered: