Merge pull request #8442 from borgstrom/patch-1

iam:GetInstanceProfile is now required
This commit is contained in:
Megan Marsh 2019-12-10 10:56:39 -08:00 committed by GitHub
commit 2b4a6f0479
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -202,7 +202,10 @@ work, but specifics will depend on your use-case.
{ {
"Sid": "PackerIAMPassRole", "Sid": "PackerIAMPassRole",
"Effect": "Allow", "Effect": "Allow",
"Action": "iam:PassRole", "Action": [
"iam:PassRole",
"iam:GetInstanceProfile"
],
"Resource": [ "Resource": [
"*" "*"
] ]
@ -314,4 +317,4 @@ generally during image copy/encryption. Possible reasons for the error include:
- Your KMS key is invalid, possibly because of a typo - Your KMS key is invalid, possibly because of a typo
- Your KMS key is valid but does not have the necessary permissions (see - Your KMS key is valid but does not have the necessary permissions (see
above for the necessary key permissions) above for the necessary key permissions)
- Your KMS key is valid, but not in the region you've told us to use it in. - Your KMS key is valid, but not in the region you've told us to use it in.