fix(eks): preserve scoped authorization for deletion waiters (#8580)

Deleting an EKS add-on or Fargate profile now keeps only its ARN for
IAM authorization, keyed by the cluster's incarnation, so a deletion
waiter with a resource-scoped describe grant receives
ResourceNotFoundException instead of AccessDeniedException, while an
unrelated grant or an explicit deny still gets 403. Describe and list
still report the resource as gone, recreation clears the kept ARN and
cluster deletion purges it. Resource tags are not kept.

Closes #8494
This commit is contained in:
luiseterc authored and GitHub committed 2026-11-16 09:32:44 -04:00
1 parent 0d6aa45d1f
commit 6eb66cd6bf
6 files changed
+147 -6

No files matched your search

+9
View File
@@ -25,6 +25,15 @@ boolean or the text `true` or `false`, such as `"endpointPublicAccess": 1`, is r
no value. A structure, list or map of the wrong kind is refused the same way. EKS's own wording
for this error has not been measured; Floci answers as the REST JSON services it was measured on do.
## Deletion waiters and IAM
After deleting an add-on or Fargate profile, a principal with resource-scoped describe
permission receives `ResourceNotFoundException` from its deletion waiter. Floci retains
only the deleted ARN for authorization, so unrelated resource grants and explicit denies
still return `AccessDeniedException`. This metadata follows the configured EKS storage mode;
it is cleared on resource recreation or cluster deletion and is not returned by describe
or list operations. Resource tags are not retained for post-deletion policy conditions.
## Supported Operations
| Operation | Description |