Difference between revisions of "Each."

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{lc}} data "aws_subnet" "all_db" { for_each = toset(data.aws_subnets.all_db.ids) id = each.value } {{tf}}")
 
Line 2: Line 2:
  
 
  data "aws_subnet" "all_db" {
 
  data "aws_subnet" "all_db" {
   for_each = toset(data.aws_subnets.all_db.ids)
+
   for_each = [[toset]](data.aws_subnets.all_db.ids)
 
   id      = each.value
 
   id      = each.value
 
  }
 
  }

Revision as of 07:21, 3 April 2023

Advertising: