Difference between revisions of "Terraform: data.aws subnets"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
[[data.]] | [[data.]] | ||
+ | data "aws_subnet" "all_db" { | ||
+ | for_each = [[toset]](data.aws_subnets.all_db.ids) | ||
+ | id = [[each.]]value | ||
+ | } | ||
{{data.}} | {{data.}} |
Revision as of 07:20, 3 April 2023
Advertising: