You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @opsline-radek
Yeah I'm aware of this issue. It's a really annoying Terraform quirk. I would call it a bug but it was intentional. I think they are going to fix it soon: hashicorp/terraform#12570
Adding count arguments is possible but such a crappy solution. Personally I just created the role first like terraform apply -target=aws_iam_role.admins and then then applied to the eks cluster. I know this is also a crappy workaround.
If you want to make a PR to add map_roles_count then go for it.
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 created an IAM role and want to pass it to
map_roles
as a list of maps. This causes an errorI'm submitting a...
What is the current behavior?
I can only pass the list of maps to
map_roles
as documented in an example. Passing a list created in code does not work and causes an error.If this is a bug, how to reproduce? Please include a code sample if relevant.
What's the expected behavior?
I should be able to pass a list of map, not only using variables like in an example. Maybe count variables should be added like
worker_group_count
.Are you able to fix this problem and submit a PR? Link here if you have already.
Environment details
Any other relevant info
The text was updated successfully, but these errors were encountered: