AWS batch: Fix EKS access entry link and drop cluster-scoped policy example
Summary
Updates the cross-reference for preparing an Amazon EKS cluster from getting-started-eks.html to getting-started-eks-configmap.html and removes the sample `aws eks associate-access-policy` command that granted AmazonEKSWorkerNodePolicy with cluster access scope.
Security assessment
The visible change is a documentation link correction plus deletion of an example CLI snippet; it is cleanup/restructuring of setup instructions rather than a change to any permission model or configuration guidance with stated security rationale, so no security-specific conclusion is supported by the diff.
Evidence
+ * **Kubernetes roles and role bindings (when access entry`status=INACTIVE`)** — If the AWS Batch-managed access entry is not active, create the Kubernetes roles and role bindings that grant those permissions, as described in [Step 2: Prepare your Amazon EKS cluster for AWS Batch](./getting-started-eks-configmap.html#getting-started-eks-configmap-step-1). You do this once for each cluster.
Diff
diff --git a/batch/latest/userguide/eks-access-entries.md b/batch/latest/userguide/eks-access-entries.md index 486e3d8..32741d4 100644 --- a//batch/latest/userguide/eks-access-entries.md +++ b//batch/latest/userguide/eks-access-entries.md @@ -225 +225 @@ Without the namespace-scoped policy association, jobs will remain stuck in `RUNN - * **Kubernetes roles and role bindings (when access entry`status=INACTIVE`)** — If the AWS Batch-managed access entry is not active, create the Kubernetes roles and role bindings that grant those permissions, as described in [Step 2: Prepare your Amazon EKS cluster for AWS Batch](./getting-started-eks.html#getting-started-eks-step-1). You do this once for each cluster. + * **Kubernetes roles and role bindings (when access entry`status=INACTIVE`)** — If the AWS Batch-managed access entry is not active, create the Kubernetes roles and role bindings that grant those permissions, as described in [Step 2: Prepare your Amazon EKS cluster for AWS Batch](./getting-started-eks-configmap.html#getting-started-eks-configmap-step-1). You do this once for each cluster. @@ -260,7 +259,0 @@ To create an access entry for the node instance role, use the AWS CLI: - - $ aws eks associate-access-policy \ - --cluster-name my-cluster \ - --principal-arn arn:aws:iam::123456789012:role/my-node-instance-role \ - --policy-arn arn:aws:eks::aws:cluster-access-policy/AmazonEKSWorkerNodePolicy \ - --access-scope type=cluster -