Skip to content

Commit

Permalink
Make it so we can pass service_region=null to the VPC endpoint module
Browse files Browse the repository at this point in the history
  • Loading branch information
mmeidlinger committed Jan 27, 2025
1 parent 8d6eba2 commit 651b70c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/vpc-endpoints/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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(each.value.service_region != null ? [each.value.service_region] : null, null)

filter {
name = "service-type"
Expand Down

0 comments on commit 651b70c

Please sign in to comment.