Add IAM policy for copying images

The ec2:CopyImage privilege is required in order to make a cross-region AMI when using the  `ami_regions` option for the amazon-ebs builder.
This commit is contained in:
Jason Martin 2015-10-30 13:19:44 -07:00
parent 09574c469b
commit 62bcf6c7ce
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ Packer to work:
"ec2:DeleteSecurityGroup", "ec2:DeleteSecurityGroup",
"ec2:AuthorizeSecurityGroupIngress", "ec2:AuthorizeSecurityGroupIngress",
"ec2:CreateImage", "ec2:CreateImage",
"ec2:CopyImage",
"ec2:RunInstances", "ec2:RunInstances",
"ec2:TerminateInstances", "ec2:TerminateInstances",
"ec2:StopInstances", "ec2:StopInstances",