From 5be5cc146bf17000eab61f263a21062c6bb66760 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Borgstrom=20=E2=99=95?= Date: Tue, 3 Dec 2019 10:06:01 +0800 Subject: [PATCH] iam:GetInstanceProfile is now required --- website/source/docs/builders/amazon.html.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/website/source/docs/builders/amazon.html.md b/website/source/docs/builders/amazon.html.md index 07e4ce23c..15ac7a98a 100644 --- a/website/source/docs/builders/amazon.html.md +++ b/website/source/docs/builders/amazon.html.md @@ -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. \ No newline at end of file + - Your KMS key is valid, but not in the region you've told us to use it in.