Skip to content

Commit

Permalink
feat: Add support for ip_address_type for VPC endpoint (#1096)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
tokarev-artem committed Aug 16, 2024
1 parent 652598f commit d868303
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/vpc-endpoints/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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], [])
Expand Down

0 comments on commit d868303

Please sign in to comment.