aws-amplify / aws-amplify/docs

[Feedback] IAM policy for Read-only users

Open
#3,936 5 comments 0 reactions 1 assignee Claimed by @josefaidt View on GitHub
amplify/cli p3
Dominant language
MDX
Stars
506
Forks
1.1k
Avg merge
3h 14m
Merged PRs (30d)
1

Description

**Page**: under `/cli/teams`

**Feedback**:

IAM policy for read-only users, who are able to execute `amplify init`, `amplify mock` and `amplify add`, would be super helpful for front-end developers. In the section "cli/teams", describes how full-stack developers manage multiple env, but front-end developer should be prohibited to execute `amplify push` from local env in most cases.

BTW, IAM policy generated by IAM Access Analyzer should be like below

```json
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "amplify:ListApps",
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"amplify:CreateBackendEnvironment",
"amplify:GetApp",
"amplify:GetBackendEnvironment",
"amplify:ListBackendEnvironments"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": "s3:CreateBucket",
"Resource": "arn:aws:s3:::*"
}
]
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.