We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 878b5d2 commit 9163310Copy full SHA for 9163310
modules/vpc-endpoints/main.tf
@@ -24,7 +24,7 @@ resource "aws_vpc_endpoint" "this" {
24
for_each = local.endpoints
25
26
vpc_id = var.vpc_id
27
- service_name = data.aws_vpc_endpoint_service.this[each.key].service_name
+ service_name = try(each.value.service_endpoint, data.aws_vpc_endpoint_service.this[each.key].service_name)
28
vpc_endpoint_type = try(each.value.service_type, "Interface")
29
auto_accept = try(each.value.auto_accept, null)
30
0 commit comments