FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit af29e331 authored by Ryan Kowalewski's avatar Ryan Kowalewski :man_dancing:
Browse files

fix: issue with iam variable as list

If the value of `var.secret_accessors` is "unknown until apply" the `for_each`
loop referencing the variable errors. This is because it uses `toset` causing the key
value to also be "unknown until apply", which is not allowed. This commit fixes
this by switching the variable type to `map(string)` to ensure that the keys in
the `for_each` are static.
parent 2ea7380e
No related branches found
No related tags found
1 merge request!7Fix issue with iam variable
Pipeline #376454 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment