We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
for_each
1 parent e476850 commit a837be1Copy full SHA for a837be1
modules/vpc-endpoints/main.tf
@@ -38,8 +38,8 @@ resource "aws_vpc_endpoint" "this" {
38
for_each = try([each.value.dns_options], [])
39
40
content {
41
- dns_record_ip_type = try(each.value.dns_options.dns_record_ip_type, null)
42
- private_dns_only_for_inbound_resolver_endpoint = try(each.value.private_dns_only_for_inbound_resolver_endpoint, null)
+ dns_record_ip_type = try(dns_options.value.dns_options.dns_record_ip_type, null)
+ private_dns_only_for_inbound_resolver_endpoint = try(dns_options.value.private_dns_only_for_inbound_resolver_endpoint, null)
43
}
44
45
0 commit comments