[cloudformation-include] Resource used in GetAtt not found when using single quotes in template #10177
Labels
@aws-cdk/cloudformation-include
Issues related to the "CFN include v.20" package
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
in-progress
This issue is being actively worked on.
p1
When the imported template uses single quotes like
!GetAtt 'MYID.Arn'
cdk synth fails withResource used in GetAtt expression with logical ID: ''MYID' not found
(note the double single quotes in the error message)Reproduction Steps
In my case:
What did you expect to happen?
I was trying to cdk synth having imported my (already working in and deployed) yaml template using this code in a new stack
What actually happened?
Environment
Other
Judging from the error message it seems an extra ' is making its way into the resource name somehow.
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: