Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hotfix(eks) use 2 subnets in 2 distinct AZs #47

Merged
merged 1 commit into from
Nov 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eks-cijenkinsio-agents-2.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module "cijenkinsio-agents-2" {
create_iam_role = true

# 2 AZs are mandatory for EKS https://docs.aws.amazon.com/eks/latest/userguide/network-reqs.html#network-requirements-subnets
subnet_ids = slice(module.vpc.private_subnets, 2, 3)
subnet_ids = slice(module.vpc.private_subnets, 1, 3)
# Required to allow EKS service accounts to authenticate to AWS API through OIDC (and assume IAM roles)
# useful for autoscaler, EKS addons and any AWS APi usage
enable_irsa = true
Expand Down