From d868303bd78b8c56cf76e2495672d42b256a1387 Mon Sep 17 00:00:00 2001 From: Artem Tokarev Date: Fri, 16 Aug 2024 14:29:46 +0100 Subject: [PATCH] feat: Add support for `ip_address_type` for VPC endpoint (#1096) * Added ip_address_type parameter to aws_vpc_endpoint resource * Added ip_address_type parameter to aws_vpc_endpoint resource * Added ip_address_type parameter to aws_vpc_endpoint resource --- modules/vpc-endpoints/main.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/vpc-endpoints/main.tf b/modules/vpc-endpoints/main.tf index 5526c3344..fbd5642a9 100644 --- a/modules/vpc-endpoints/main.tf +++ b/modules/vpc-endpoints/main.tf @@ -33,6 +33,7 @@ resource "aws_vpc_endpoint" "this" { route_table_ids = try(each.value.service_type, "Interface") == "Gateway" ? lookup(each.value, "route_table_ids", null) : null policy = try(each.value.policy, null) private_dns_enabled = try(each.value.service_type, "Interface") == "Interface" ? try(each.value.private_dns_enabled, null) : null + ip_address_type = try(each.value.ip_address_type, null) dynamic "dns_options" { for_each = try([each.value.dns_options], [])