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
pull/6356/head
stack72 8 years ago
parent 5bddf6a267
commit 1bc471073f
No known key found for this signature in database
GPG Key ID: CB4C8109B73A7D6D

@ -168,10 +168,15 @@ for Packer to work:
"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

Loading…
Cancel
Save