sort/uniq IAM policies

This commit is contained in:
Matthew Hooker 2016-11-03 11:49:50 -07:00
parent ac8e70ade0
commit 3d69af1247
1 changed files with 24 additions and 25 deletions

View File

@ -103,37 +103,36 @@ Packer to work:
"Effect": "Allow", "Effect": "Allow",
"Action" : [ "Action" : [
"ec2:AttachVolume", "ec2:AttachVolume",
"ec2:CreateVolume",
"ec2:DeleteVolume",
"ec2:CreateKeypair",
"ec2:DeleteKeypair",
"ec2:DescribeSubnets",
"ec2:CreateSecurityGroup",
"ec2:DeleteSecurityGroup",
"ec2:DescribeSecurityGroups",
"ec2:AuthorizeSecurityGroupIngress", "ec2:AuthorizeSecurityGroupIngress",
"ec2:CreateImage",
"ec2:CopyImage", "ec2:CopyImage",
"ec2:RunInstances", "ec2:CreateImage",
"ec2:TerminateInstances", "ec2:CreateKeypair",
"ec2:StopInstances", "ec2:CreateSecurityGroup",
"ec2:CreateSnapshot",
"ec2:CreateTags",
"ec2:CreateVolume",
"ec2:DeleteKeypair",
"ec2:DeleteSecurityGroup",
"ec2:DeleteSnapshot",
"ec2:DeleteVolume",
"ec2:DeregisterImage",
"ec2:DescribeImageAttribute",
"ec2:DescribeImages",
"ec2:DescribeInstances",
"ec2:DescribeRegions",
"ec2:DescribeSecurityGroups",
"ec2:DescribeSnapshots",
"ec2:DescribeSubnets",
"ec2:DescribeTags",
"ec2:DescribeVolumes", "ec2:DescribeVolumes",
"ec2:DetachVolume", "ec2:DetachVolume",
"ec2:DescribeInstances",
"ec2:CreateSnapshot",
"ec2:DeleteSnapshot",
"ec2:DescribeSnapshots",
"ec2:DescribeImages",
"ec2:RegisterImage",
"ec2:DeregisterImage",
"ec2:CreateTags",
"ec2:ModifyImageAttribute",
"ec2:GetPasswordData", "ec2:GetPasswordData",
"ec2:DescribeTags", "ec2:ModifyImageAttribute",
"ec2:DescribeImageAttribute",
"ec2:CopyImage",
"ec2:DescribeRegions",
"ec2:ModifyInstanceAttribute" "ec2:ModifyInstanceAttribute"
"ec2:RegisterImage",
"ec2:RunInstances",
"ec2:StopInstances",
"ec2:TerminateInstances",
], ],
"Resource" : "*" "Resource" : "*"
}] }]