Add policies to use spot instance to create the AMI

This commit is contained in:
Bill Wang 2017-08-01 21:24:43 +10:00
parent 4c52ee9697
commit 28a986691d
1 changed files with 3 additions and 0 deletions

View File

@ -136,6 +136,9 @@ Packer to work:
}] }]
} }
``` ```
### Notes to pay for a spot instance to create the AMI
You need to add two more actions: `ec2:RequestSpotInstances` and `ec2:CancelSpotInstanceRequests`
## Troubleshooting ## Troubleshooting