aws-deployment-framework
aws-deployment-framework copied to clipboard
feat(adf-bootstrap): (#472) modify trust relations for roles :zap:
*Issue #472 *
Description of changes: Modify the trust relations for the roles. Now a recreation of the related roles is possible without the need of a recreation for the adf stacks in all accounts.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Hey @AndreasAugustin thanks for raising this PR. It's a great solution.
Regarding the multi-block condition, is there any reason you wouldn't do it the same way as defined here: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_multi-value-conditions.html
Rather than using the intrinsic AND operator.
Hey @AndreasAugustin thanks for raising this PR. It's a great solution.
Regarding the multi-block condition, is there any reason you wouldn't do it the same way as defined here: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_multi-value-conditions.html
Rather than using the intrinsic AND operator.
Hi @StewartW thanks a lot for the review.
- fixed:
StringEquals
->ArnEquals
- also moved from single quotes in some statements to double quotes
-
Fn::And
-> migrated to object based. I did not test it. At leastcfn-lint
is not complaining :+1: I try to test it ASAP