Skip to content

Commit

Permalink
fix(eks): partition is hardcoded in ALB controller IAM policies (#27541)
Browse files Browse the repository at this point in the history
This handles the issue by rewriting the policy objects before passing them to `PolicyStatement.fromJson`. Resources have the partition replaced with the `Aws.PARTITION` token and in tests we assert that the ARN is no longer hardcoded in the synthesized template.

Closes #22520.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
kylelaker committed Oct 17, 2023
1 parent af56932 commit 75e56ea
Show file tree
Hide file tree
Showing 42 changed files with 1,227 additions and 630 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 75e56ea

Please sign in to comment.