Terraform function: toset

From wikieduonline
Revision as of 17:58, 14 May 2023 by Welcome (talk | contribs)
Jump to navigation Jump to search
resource "aws_ssm_parameter" "secret" {
  for_each    = toset(var.secrets)
  name        = each.key
  description = each.key
  type        = "SecureString"
  value       = "1"

  lifecycle {
    ignore_changes = [value]
  }
}


Related

See also

Advertising: