Where do I add permissions when using amplify-cli?
See original GitHub issue** Which Category is your question related to? ** API/Function
** What AWS Services are you utilizing? ** Lambda/DynamoDB
** Provide additional details e.g. code snippets ** I have a lambda that gathers data from DynamoDB that i created using the cli.
When I execute it, I get a permission error:
User: blah is not authorized to perform: dynamodb:DescribeTable
This is easy enough to fix, I added the DynamoDB permissions required through the console but this feels bad. I could edit the cloudformation template, adding the permissions there before push
ing the changes up. But the template is generated, that also feels bad.
Any idea where I should be doing this? I can’t find any documentation around it.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
IAM Permissions Boundary for Amplify-generated roles
To set the maximum permissions that can be granted to IAM Roles created by Amplify CLI, configure a Permissions Boundary for the project....
Read more >Adding a service role - AWS Amplify Hosting
If you already have an existing app, you can find the service role setting in App settings > General and then choose Edit...
Read more >How to add Permissions to Lambda Function while using ...
I was able to edit the lambda locally to a certain degree: adding layer, environment variable etc using amplify update function .
Read more >Amplify Guest Users - How to give limited access to ... - YouTube
0:00 Intro 3:29 Updating Amplify Auth with CLI 7:09 Creating Un-Auth IAM role 12:54 Updating the Code to work with IAM 15:09 Allowing...
Read more >Lambda Triggers & Read-Only Permissions with AWS Amplify
Currently, the only way- Amplify lets you declare different permissions for users is by using static groups in Cognito and using attributes on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@gregevari What do you mean by if push changes? I don’t beleive this file is changed dynamically by the CLI after it’s created.
This issue has been automatically locked since there hasn’t been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server
*-help
channels for those types of questions.