Skip to content

Commit

Permalink
feat: add VPC endpoints (bis)
Browse files Browse the repository at this point in the history
  • Loading branch information
chomatdam committed Dec 11, 2024
1 parent fa90c95 commit 4da22c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/foundation-stack/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ data "aws_region" "current" {}

# https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/using-govcloud-vpc-endpoints.html
resource "aws_vpc_endpoint" "eks_vpc_endpoints" {
for_each = var.vpc_endpoints
for_each = toset(var.vpc_endpoints)
vpc_id = module.vpc.vpc_id
service_name = "com.amazonaws.${data.aws_region.current.name}.${each.value}"
tags = var.stack_tags
Expand Down

0 comments on commit 4da22c4

Please sign in to comment.