(CDK CLI): migrate doesn't produce correct IAM policies #28014
Labels
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p1
package/tools
Related to AWS CDK Tools or CLI
Describe the bug
When importing this template:
https://github.com/awslabs/aws-cloudformation-templates/blob/master/aws/solutions/LambdaStaticIP/lambda-static.cfn.yaml
The IAM role has bad casing on the policy:
Expected Behavior
I expected the IAM policy documents to have the correct casing and be deployable.
Current Behavior
lowercase properties are incorrect for these IAM policy statements
Reproduction Steps
run cdk migrate on the linked template. Try to deploy, it will fail.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.106.0 (build 0d1a333)
Framework Version
No response
Node.js Version
v20.9.0
OS
Mac OS 14.1.1
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: