Closed Poweranimal closed 2 years ago
The issues was not Fn::Join
.
Instead it was AWS::Partition
not being resolved.
Although the documentation describes it as being set by default: https://github.com/stelligent/cfn_nag#aws-pseudofunctions
I was able to fix it by adding a paramaters.json
file like this one:
{
"Parameters": {
"AWS::Partition": "aws"
}
}
Then I run: cfn_nag_scan -t '..*\.template.json' -i cdk.out -a parameters.json
It is good to have a workaround, but shouldn't this get fixed?
Yes, you’re right. Though I think it’s worth to create a dedicated issue for this problem.
Hi,
It seems that
Fn::Join
statements are not resolved.Example
Expected Result
No violation to be found.
Actual Result