From 896ceee9021bc2259232dfa828ee91a65c39234f Mon Sep 17 00:00:00 2001 From: Fotios Lindiakos <30440247+thefotios-enigma@users.noreply.github.com> Date: Fri, 22 Jun 2018 18:55:50 -0400 Subject: [PATCH] Update list of required IAM permissions The `ec2:DescribeSpotPriceHistory` is required when the `spot_price` parameter is set to `auto`. --- website/source/docs/builders/amazon.html.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/website/source/docs/builders/amazon.html.md b/website/source/docs/builders/amazon.html.md index d54a28cef..3b1a177a9 100644 --- a/website/source/docs/builders/amazon.html.md +++ b/website/source/docs/builders/amazon.html.md @@ -184,7 +184,13 @@ Note that if you'd like to create a spot instance, you must also add: ec2:RequestSpotInstances, ec2:CancelSpotInstanceRequests, ec2:DescribeSpotInstanceRequests -``` +``` + +If you have the `spot_price` parameter set to `auto`, you must also add: + +``` json +ec2:DescribeSpotPriceHistory +``` ## Troubleshooting