Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

selecting more than one policy #11

Open
sliedig opened this issue Sep 21, 2023 · 0 comments
Open

selecting more than one policy #11

sliedig opened this issue Sep 21, 2023 · 0 comments

Comments

@sliedig
Copy link

sliedig commented Sep 21, 2023

When adding policies to a function to read and write to a Dynamo DB table you should be able to add multiple policies for the same table, instead of getting You can only choose one policy template and you can't mix policy templates and actions error.

Alternatively, provide the option to add more than one managed policy to a function in one session.

[ec2-user@ip-10-0-0-16 Unicorn.Properties]$ iam-pol
? Select permission target or use SAM Connector source DynamoDB
? Add action(s) 
 --- SAM Policy Templates ---
 ◯ DynamoDBCrudPolicy
 ◉ DynamoDBReadPolicy
❯◉ DynamoDBWritePolicy
 ◯ DynamoDBReconfigurePolicy
 ◯ DynamoDBStreamReadPolicy
 ◯ DynamoDBBackupFullAccessPolicy
(Move up and down to reveal more choices)

? Add action(s) DynamoDBReadPolicy, DynamoDBWritePolicy
You can only choose one policy template and you can't mix policy templates and actions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant