Repository navigation
Commit 75e56ea
authored
fix(eks): partition is hardcoded in ALB controller IAM policies (#27541)
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*1 parent af56932 commit 75e56ea
42 files changed
Lines changed: 1227 additions & 630 deletions
File tree
- packages
- @aws-cdk-testing/framework-integ/test/aws-eks/test
- integ.alb-controller.js.snapshot
- asset.0f19e51d1e47290d7a33e0b67405e4722942dee4b92b9d29425fccf0d99017c3
- apply
- get
- helm
- patch
- asset.9efb96d8186dd343e3f84c72cfbcaaf16aa5579bbac0c02c60d4f19f4300d832
- asset.b8426d60bacb99593213adedd37997b7d83efb99683ef98c85e692a82056e829
- integ.eks-inference.js.snapshot
- aws-cdk-lib/aws-eks
- lib
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments