Skip to content

fix: allow EKS cluster service-linked role in permissions boundary - #46

Merged
ianaya89 merged 1 commit into
masterfrom
fix/eks-cluster-slr-boundary
Nov 16, 2026
Merged

ianaya89 merged 1 commit into
masterfrom
fix/eks-cluster-slr-boundary

Conversation

@ianaya89

Copy link
Copy Markdown
Member

CreateCluster fails in accounts that never had EKS: the boundary allowed the nodegroup and ELB service-linked roles but not AWSServiceRoleForAmazonEKS.

  • Add aws-service-role/eks.amazonaws.com/AWSServiceRoleForAmazonEKS* to the ServiceLinkedRoles statement
  • Add eks.amazonaws.com to the iam:AWSServiceName condition

terraform validate passes; not tested against a fresh account.

CreateCluster fails in accounts that never had EKS because the boundary
only allowed the nodegroup and ELB service-linked roles, not
AWSServiceRoleForAmazonEKS (eks.amazonaws.com).
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-16T11:59:18.503506Z c577b3d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ianaya89
ianaya89 merged commit 1b67350 into master Nov 16, 2026
3 checks passed
@ianaya89
ianaya89 deleted the fix/eks-cluster-slr-boundary branch November 16, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants