Skip to content

fix: alias permissions silently dropped when statementID is nil#216

Open
michaelhtm wants to merge 2 commits into
aws-controllers-k8s:mainfrom
michaelhtm:fix/alias-permissions-nil-statement-id
Open

fix: alias permissions silently dropped when statementID is nil#216
michaelhtm wants to merge 2 commits into
aws-controllers-k8s:mainfrom
michaelhtm:fix/alias-permissions-nil-statement-id

Conversation

@michaelhtm
Copy link
Copy Markdown
Member

Issue #2659

Description of changes:
Permissions with nil statementID were excluded from comparison maps
and skipped during sync. Now they flow through to the AWS API which
returns the proper validation error.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ack-prow ack-prow Bot requested review from gustavodiaz7722 and sapphirew May 12, 2026 23:11
@ack-prow
Copy link
Copy Markdown

ack-prow Bot commented May 12, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: michaelhtm

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ack-prow ack-prow Bot added the approved label May 12, 2026
Validate that all permissions have a statementID before syncing,
returning a terminal error if any are missing. Previously these
were silently skipped, giving no feedback to the user.
@michaelhtm michaelhtm force-pushed the fix/alias-permissions-nil-statement-id branch from e77c2f5 to 1202f7b Compare May 12, 2026 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant