serverless-step-functions icon indicating copy to clipboard operation
serverless-step-functions copied to clipboard

fix: define proper permissions for index with Ref table

Open ebisbe opened this issue 1 year ago • 0 comments

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']] }

ebisbe avatar Jun 10 '24 10:06 ebisbe