AWS Security ChangesHomeSearch

AWS batch: Add troubleshooting for incomplete EKS access entry setup

Service: batch · 2026-10-02 · Documentation medium

File: batch/latest/userguide/batch_eks_invalid_compute_environment.md · Type: iam

Summary

Adds a new troubleshooting section explaining the INVALID compute environment state caused by incomplete Amazon EKS access entry setup, listing the required EKS IAM actions (DescribeCluster, DescribeAccessEntry, CreateAccessEntry, AssociateAccessPolicy, DeleteAccessEntry) and how to retry.

Security assessment

The change documents the IAM permissions required for AWS Batch to manage EKS access entries, which is authorization/permission guidance rather than a fix for a specific vulnerability.

Evidence

The usual cause is that the IAM identity that called `CreateComputeEnvironment` or `UpdateComputeEnvironment` isn't allowed to call `eks:AssociateAccessPolicy`, `eks:DeleteAccessEntry`, or both.

Diff

diff --git a/batch/latest/userguide/batch_eks_invalid_compute_environment.md b/batch/latest/userguide/batch_eks_invalid_compute_environment.md
index 5df01dd..94a432f 100644
--- a//batch/latest/userguide/batch_eks_invalid_compute_environment.md
+++ b//batch/latest/userguide/batch_eks_invalid_compute_environment.md
@@ -7 +7 @@
-Unsupported Kubernetes versionInstance profile doesn't existInvalid Kubernetes namespaceDeleted compute environmentNodes don't join the Amazon EKS cluster
+Unsupported Kubernetes versionInstance profile doesn't existInvalid Kubernetes namespaceAmazon EKS access entry setup is incompleteDeleted compute environmentNodes don't join the Amazon EKS cluster
@@ -80,0 +81,28 @@ To resolve this issue, see [Verify that the aws-auth ConfigMap is configured cor
+## Amazon EKS access entry setup is incomplete
+
+If AWS Batch created an Amazon EKS access entry on the cluster but couldn't finish associating the access policy that makes it usable, the compute environment status changes to `INVALID`. To resolve this issue, grant the missing Amazon EKS permissions and retry the operation.
+
+The `statusReason` parameter contains an error message that resembles the following.
+    
+    
+    CLIENT_ERROR - Access Entry setup incomplete on cluster [my-cluster]. Retry by calling UpdateComputeEnvironment.
+
+This state can occur if AWS Batch couldn't associate the access policy with the new access entry. AWS Batch then couldn't delete the access entry to roll back. The usual cause is that the IAM identity that called `CreateComputeEnvironment` or `UpdateComputeEnvironment` isn't allowed to call `eks:AssociateAccessPolicy`, `eks:DeleteAccessEntry`, or both. If only the policy association fails, AWS Batch removes the access entry and the request fails with an error instead of leaving the compute environment `INVALID`.
+
+Verify that your IAM identity that calls `CreateComputeEnvironment` and `UpdateComputeEnvironment` is allowed to call all of the Amazon EKS actions that AWS Batch uses to manage an access entry. The first two actions read cluster state, and the remaining actions manage the access entry itself.
+
+  * `eks:DescribeCluster`
+
+  * `eks:DescribeAccessEntry`
+
+  * `eks:CreateAccessEntry`
+
+  * `eks:AssociateAccessPolicy`
+
+  * `eks:DeleteAccessEntry`
+
+
+
+
+After you update the identity's permissions, call `UpdateComputeEnvironment` on the compute environment to retry the operation. For more information about the permissions that AWS Batch needs, see [Required permissions](./eks-access-entries.html#eks-access-entries-permissions).
+