question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feedback] IAM policy for Read-only users

See original GitHub issue

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

{
    "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:::*"
        }
    ]
}

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
josefaidtcommented, Apr 22, 2022

Hey @kopkunka55 👋 are you looking for an example that allows everything but amplify push?

@maziarzamani to clarify, when you say “only need read” permissions can you describe the workflow you’re aiming to achieve? Are you looking for permissions where front-end developers are able to initialize the project locally but not add/update/remove resources using the CLI?

1reaction
maziarzamanicommented, Apr 1, 2022

I have a similar use-case running an Amplify Application on a production account where front-end developers only need read abilities to the application and its environments.

Read more comments on GitHub >

github_iconTop Results From Across the Web

IAM: Allows read-only access to the IAM console
Use this policy for console access that includes permissions to generate reports or service last accessed details. For a different policy that does...
Read more >
AWS IAM "ReadOnlyAccess" Managed Policy Is Too ...
Amazon has created an IAM Managed Policy named ReadOnlyAccess, which grants read-only access to active resources on most AWS services. At Campus ...
Read more >
How to Grant Read-Only Access on Amazon Web Services ...
Open the AWS Console and type IAM in the search box. Then, at the IAM dashboard (left side of the screen), select the...
Read more >
Set Up Read-Only Access to the AWS Account - Docs Tenable
Set Up Read-Only Access to the AWS Account · In the AWS web console, go to Identity and Access Management (IAM). · On...
Read more >
IAM basic and predefined roles reference - Google Cloud
To grant the Owner role on a project to a user outside of your organization, you must use the Google Cloud console, not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found