serverless-step-functions
serverless-step-functions copied to clipboard
fix: define proper permissions for index with Ref table
When the "TableName" is a Ref the 'Arn' to use the index is not generated correctly:
arn:aws:dynamodb:eu-west-1:679049160385:table/[object Object]/index/GsiPkState
It should be:
{'Fn::Join': ['/', [{ 'Fn::GetAtt': ['hello', 'Arn'] }, 'index/GSI1']] }