Bug: parsing Ref in template.json is incorrect #7413
Labels
area/intrinsics
Ref, If, Sub, GetAtt, ...
area/local
blocked/close-if-inactive
Blocked for >14 days with no response, will be closed if still inactive after 7 days
Description:
sam can't parse the Ref key in the following Lambda definition. We expected
TABLE_NAME
to be the actual DynamoDB table name, but instead gotdemogametable2FE33C07
.Steps to reproduce:
cdk python code as following
Run local test
event.json
Observed result:
demogametable2FE33C07
Expected result:
real dynamodb table name
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
sam --version
: SAM CLI, version 1.123.0The text was updated successfully, but these errors were encountered: