Skip to content

Commit

Permalink
feat: Allow setting vpc endpoints as an input for each endpoint (#1056)
Browse files Browse the repository at this point in the history
  • Loading branch information
zack-is-cool authored Mar 22, 2024
1 parent 878b5d2 commit 9163310
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 @@ -24,7 +24,7 @@ resource "aws_vpc_endpoint" "this" {
for_each = local.endpoints

vpc_id = var.vpc_id
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)
vpc_endpoint_type = try(each.value.service_type, "Interface")
auto_accept = try(each.value.auto_accept, null)

Expand Down

0 comments on commit 9163310

Please sign in to comment.