Skip to content

Instantly share code, notes, and snippets.

@takayukii
Created March 16, 2017 07:28
Show Gist options
  • Select an option

  • Save takayukii/15b5d77e818b8040326f35cbc680bffe to your computer and use it in GitHub Desktop.

Select an option

Save takayukii/15b5d77e818b8040326f35cbc680bffe to your computer and use it in GitHub Desktop.
OpsWorks super user
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Deny",
"Action": [
"ec2:*"
],
"Resource": [
"arn:aws:ec2:ap-northeast-1::instance/i-003c6a05a4978046a",
"arn:aws:ec2:ap-northeast-1::security-group/sg-a24bd2c7"
]
},
{
"Effect": "Allow",
"Action": [
"opsworks:*",
"ec2:*",
"iam:Get*",
"iam:List*",
"iam:Pass*",
"rds:Describe*"
],
"Resource": [
"*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment