The CloudFormation stacks currently generate a cfn-lint warning "[cfn-lint] I3042: ARN in Resource CustomAcmCertificateLambdaExecutionRole contains hardcoded Partition in ARN or incorrectly placed Pseudo Parameters".
I have made this substitution where it seemed reasonable, but was not able to run the tests. This PR doesn't fix anything functional -- it's only intended to get rid of the warnings.
Also, thanks for making this! This resource genuinely is a blessing.
The CloudFormation stacks currently generate a
cfn-lint
warning "[cfn-lint] I3042: ARN in Resource CustomAcmCertificateLambdaExecutionRole contains hardcoded Partition in ARN or incorrectly placed Pseudo Parameters".This comes from constructs like
where the
:aws:
in principle could be:aws-cn:
or:aws-us-gov:
. The fix is to insert the pseudo parameter${AWS::Partition}
like so:I have made this substitution where it seemed reasonable, but was not able to run the tests. This PR doesn't fix anything functional -- it's only intended to get rid of the warnings.
Also, thanks for making this! This resource genuinely is a blessing.