Re:Terraform 1.0
by sverhagen on Tuesday June 08, 2021 @06:08PM
(#27441642)
I'm seeing errors on each.value.foo when using for_each. Also, this gives me errors:
locals {
foo = {
for bar in local.bars: "${bar.x}.${bar.y}" => bar
}
}
Then, optional(bool) is "is not a valid type constructor".
Those all seem "language" aspects. For a resource like "github_branch_protection" it seems to not recognize the right properties. That seems to be more of provider issue.
locals { foo = { for bar in local.bars: "${bar.x}.${bar.y}" => bar } }
Then, optional(bool) is "is not a valid type constructor".
Those all seem "language" aspects. For a resource like "github_branch_protection" it seems to not recognize the right properties. That seems to be more of provider issue.