Skip to content

Instantly share code, notes, and snippets.

@daisuke-morita
Created February 7, 2016 04:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daisuke-morita/a4503027eec304dcc6e2 to your computer and use it in GitHub Desktop.
Save daisuke-morita/a4503027eec304dcc6e2 to your computer and use it in GitHub Desktop.
デプロイ用の IAM User
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "1",
"Effect": "Allow",
"Action": "s3:*",
"Resource": [
"arn:aws:s3:::example-app-packages/*"
]
},
{
"Effect": "Allow",
"Action": [
"ec2:DescribeInstances",
"ec2:AuthorizeSecurityGroupIngress",
"ec2:revokeSecurityGroupIngress"
],
"Resource": "*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment