Terraform: data.aws subnets

From wikieduonline
Revision as of 06:58, 3 June 2024 by Welcome (talk | contribs) (→‎Related)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
data.aws_subnets


data.
data "aws_subnet" "all_db" {
  for_each = toset(data.aws_subnets.all_db.ids)
  id       = each.value
}
subnet_id = element(data.aws_subnets.all_private.ids, 0)

See also[edit]

Advertising: