You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
skill: document the EKS 401-despite-healthy-IAM failure mode in aws-account-operations #846
Add a short note to .claude/skills/aws-account-operations/ (SKILL.md or the operating reference, wherever a session debugging cluster access lands) covering:
A read-only SSO role (er-readonly / PlatformReadOnly) that authenticates fine against every AWS API still gets 401 Unauthorized from the EKS cluster if no EKS access entry covers it — IAM health and cluster access are separate planes.
Verification: kubectl --context er-dev-ro -n ci get pods returns instead of 401ing.
Why
Found on #839: a session needing to verify a deploy via kubectl lost time diagnosing a 401 that looked like an IAM problem. The module comment at infra/terraform/envs/dev/eks.tf records it, but a session that hits this searches the account-operations skill first — that is where the pointer belongs.
Done when
The note is in the skill, make skills-check passes, and the PR ledger is closed.
Size: 0.1w. Follow-up from the #844 post-merge ledger.
Scope addition discovered while working #660 (PR #847): the read-only access entry fixes kubectl get but not kubectl port-forward — AmazonEKSViewPolicy has no pods/portforward create, and every service on er-dev is ClusterIP with no ingress or ELB, so port-forward is the only laptop path to web-api, er-api and the OpenObserve span store. The doc note should say: introspection works with er-readonly, but any probe that must reach a cluster service (verifying.md's producer proof, the #660 live trace probe) needs a PlatformAdmin SSO session or a scoped portforward grant.
Activity
athvin commentedon Nov 8, 2026
Scope addition discovered while working #660 (PR #847): the read-only access entry fixes
kubectl getbut notkubectl port-forward— AmazonEKSViewPolicy has nopods/portforwardcreate, and every service on er-dev is ClusterIP with no ingress or ELB, so port-forward is the only laptop path to web-api, er-api and the OpenObserve span store. The doc note should say: introspection works with er-readonly, but any probe that must reach a cluster service (verifying.md's producer proof, the #660 live trace probe) needs a PlatformAdmin SSO session or a scoped portforward grant.athvin commentedon Nov 8, 2026
Claimed — working in the draft PR linked above. Closing that PR releases the claim.
docs(aws): the EKS 401-despite-healthy-IAM failure mode (#846)
docs(aws): the traps section has three now — retitle it (#846)
docs(aws): the EKS 401-despite-healthy-IAM failure mode (#846) (#923)