FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
  • Ryan Kowalewski's avatar
    af29e331
    fix: issue with iam variable as list · af29e331
    Ryan Kowalewski authored
    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.
    af29e331
    History
    fix: issue with iam variable as list
    Ryan Kowalewski authored
    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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.