Terraform: for each
Jump to navigation
Jump to search
for_each
resource "aws_ssm_parameter" "secret" { for_each = toset(var.secrets) name = each.key description = each.key type = "SecureString" value = "1" lifecycle { ignore_changes = [value] } }
Errors
Related
See also
Advertising: