docs/aws: Update documentation for AWS Spot Instances
The docs didn't specify that `ec2:DescribeSpotInstanceRequests` was required. This causes an error as follows: ``` Error waiting for spot request (sir-yg6866gj) to become ready: UnauthorizedOperation: You are not authorized to perform this operation. ``` This is because the permission to describe instance state is not available
This commit is contained in:
parent
5bddf6a267
commit
1bc471073f
|
@ -170,8 +170,13 @@ for Packer to work:
|
|||
}
|
||||
```
|
||||
|
||||
Note that if you'd like to create a spot instance, you must also add
|
||||
`ec2:RequestSpotInstances` and `ec2:CancelSpotInstanceRequests`
|
||||
Note that if you'd like to create a spot instance, you must also add:
|
||||
|
||||
``` json
|
||||
ec2:RequestSpotInstances,
|
||||
ec2:CancelSpotInstanceRequests,
|
||||
ec2:DescribeSpotInstanceRequests
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
|
|
Loading…
Reference in New Issue