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
|
@ -168,10 +168,15 @@ for Packer to work:
|
||||||
"Resource" : "*"
|
"Resource" : "*"
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that if you'd like to create a spot instance, you must also add
|
Note that if you'd like to create a spot instance, you must also add:
|
||||||
`ec2:RequestSpotInstances` and `ec2:CancelSpotInstanceRequests`
|
|
||||||
|
``` json
|
||||||
|
ec2:RequestSpotInstances,
|
||||||
|
ec2:CancelSpotInstanceRequests,
|
||||||
|
ec2:DescribeSpotInstanceRequests
|
||||||
|
```
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue