diff --git a/CHANGELOG.md b/CHANGELOG.md index e47ce7177..a6af7dd66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. +## [5.18.1](https://github.com/terraform-aws-modules/terraform-aws-vpc/compare/v5.18.0...v5.18.1) (2025-01-28) + + +### Bug Fixes + +* Fixed service_region argument in the VPC endpoint module ([#1162](https://github.com/terraform-aws-modules/terraform-aws-vpc/issues/1162)) ([5415dee](https://github.com/terraform-aws-modules/terraform-aws-vpc/commit/5415deebeb608f1e622a336f045c79b08d144f46)) + ## [5.18.0](https://github.com/terraform-aws-modules/terraform-aws-vpc/compare/v5.17.0...v5.18.0) (2025-01-27) diff --git a/modules/vpc-endpoints/main.tf b/modules/vpc-endpoints/main.tf index e2cddd268..12d4e71ce 100644 --- a/modules/vpc-endpoints/main.tf +++ b/modules/vpc-endpoints/main.tf @@ -13,7 +13,7 @@ data "aws_vpc_endpoint_service" "this" { service = try(each.value.service, null) service_name = try(each.value.service_name, null) - service_regions = try([each.value.service_region], null) + service_regions = try(coalescelist(compact([each.value.service_region])), null) filter { name = "service-type"