iam:GetInstanceProfile is now required

This commit is contained in:
Borgstrom ♕ 2019-12-03 10:06:01 +08:00 committed by GitHub
parent 0bea6022ec
commit 5be5cc146b
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",
"Effect": "Allow",
"Action": "iam:PassRole",
"Action": [
"iam:PassRole",
"iam:GetInstanceProfile"
],
"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 valid but does not have the necessary permissions (see
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.