Created
March 22, 2017 19:42
-
-
Save mmastoras/767c583f634e185cd45cf4329fd4f9c2 to your computer and use it in GitHub Desktop.
packer AWS permissions
This file contains 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
PolicyDocument" : { | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"ec2:AttachVolume", | |
"ec2:CreateVolume", | |
"ec2:DeleteVolume", | |
"ec2:CreateKeypair", | |
"ec2:DeleteKeypair", | |
"ec2:DescribeKeyPairs", | |
"ec2:DescribeSubnets", | |
"ec2:CreateSecurityGroup", | |
"ec2:DeleteSecurityGroup", | |
"ec2:DescribeSecurityGroups", | |
"ec2:AuthorizeSecurityGroupIngress", | |
"ec2:RevokeSecurityGroupIngress", | |
"ec2:CreateImage", | |
"ec2:CopyImage", | |
"ec2:RunInstances", | |
"ec2:TerminateInstances", | |
"ec2:StartInstances", | |
"ec2:StopInstances", | |
"ec2:RebootInstances", | |
"ec2:DescribeInstances", | |
"ec2:ModifyInstanceAttribute", | |
"ec2:DescribeVolumes", | |
"ec2:DetachVolume", | |
"ec2:CreateSnapshot", | |
"ec2:DeleteSnapshot", | |
"ec2:DescribeSnapshots", | |
"ec2:DescribeImages", | |
"ec2:RegisterImage", | |
"ec2:DeregisterImage", | |
"ec2:CreateTags", | |
"ec2:ModifyImageAttribute", | |
"iam:PassRole" | |
], | |
"Resource": "*" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment