Commit a837be12 authored by Bryant Biggs's avatar Bryant Biggs Committed by GitHub

fix: Correct VPC endpoint private DNS resolver `for_each` key (#1029)

parent e4768508
...@@ -38,8 +38,8 @@ resource "aws_vpc_endpoint" "this" { ...@@ -38,8 +38,8 @@ resource "aws_vpc_endpoint" "this" {
for_each = try([each.value.dns_options], []) for_each = try([each.value.dns_options], [])
content { content {
dns_record_ip_type = try(each.value.dns_options.dns_record_ip_type, null) dns_record_ip_type = try(dns_options.value.dns_options.dns_record_ip_type, null)
private_dns_only_for_inbound_resolver_endpoint = try(each.value.private_dns_only_for_inbound_resolver_endpoint, null) private_dns_only_for_inbound_resolver_endpoint = try(dns_options.value.private_dns_only_for_inbound_resolver_endpoint, null)
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment