Skip to content

Cannot generate IAM Policy for dynamodb:scan #584

Open
@ebisbe

Description

@ebisbe

This is a Feature Proposal

Description

For bug reports:

  • What went wrong?
Cannot generate IAM policy statement for Task state { Type: 'Task',
  Next: 'Map',
  Parameters:
   { TableName: { Ref: 'flickrTokens' },
     FilterExpression: '#isSubscribed = :isNotSubscribed',
     ExpressionAttributeNames: { '#isSubscribed': 'isSubscribed' },
     ExpressionAttributeValues: { ':isNotSubscribed': { Bool: false } },
     'ExclusiveStartKey.$': '$.LastEvaluatedKey' },
  Resource: 'arn:aws:states:::aws-sdk:dynamodb:scan' }
  • What did you expect should have happened?
    Generate the proper IAM role

For feature proposals:
Add the line to generate the iam role for scan. Not sure why it has not been added. I need it to scan a users table.

I can do the PR myself

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions