Skip to content

Commit

Permalink
keep default endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelhar committed Feb 24, 2025
1 parent b0ad2bc commit 70ad8f3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion modules/eks/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@ resource "aws_iam_role_policy_attachment" "custom_eks_nodes" {
role = aws_iam_role.eks_nodes.name
}


resource "aws_eks_identity_provider_config" "this" {
for_each = { for idp in var.eks.identity_providers : idp.identity_provider_config_name => idp }

Expand Down
2 changes: 1 addition & 1 deletion modules/infra/submodules/network/vpc.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ resource "aws_default_security_group" "default" {
}

resource "aws_vpc_endpoint" "s3" {
count = local.create_vpc && var.network.create_s3_endpoint ? 1 : 0
count = local.create_vpc ? 1 : 0
vpc_id = aws_vpc.this[0].id
service_name = "com.amazonaws.${var.region}.s3"
vpc_endpoint_type = "Gateway"
Expand Down

0 comments on commit 70ad8f3

Please sign in to comment.