Created
August 28, 2017 17:14
-
-
Save aripalo/dbd7b67adc1b5f950e62bed7aedf3250 to your computer and use it in GitHub Desktop.
AWS SAM deploy IAM user & policy document
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Resources: | |
SamDeployUser: | |
Type: AWS::IAM::User | |
Properties: | |
UserName: sam-deploy-user | |
Path: "/" | |
Policies: | |
- PolicyName: allow-sam-deploy-access | |
PolicyDocument: | |
Version: "2012-10-17" | |
Statement: | |
- Effect: "Allow" | |
Action: | |
- "cloudformation:*" | |
- "lambda:*" | |
- "apigateway:*" | |
- "s3:ListBucket" | |
- "s3:GetObject" | |
- "s3:GetObjectAcl" | |
- "s3:PutObject" | |
- "s3:PutObjectAcl" | |
- "iam:CreateRole" | |
- "iam:AttachRolePolicy" | |
- "iam:GetRole*" | |
- "iam:PassRole" | |
- "events:*" | |
Resource: "*" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment