mitchellh / vagrant-aws

Use Vagrant to manage your EC2 and VPC instances.
MIT License
2.61k stars 574 forks source link

Using Vagrant to provision Powershell scripts onto a custom AMI using Packer #545

Open degan93 opened 6 years ago

degan93 commented 6 years ago

Hello,

I have created a custom Windows AMI using Packer. I am then trying to use Vagrant to provision more software (using Powershell scripts) onto the AMI.

Every time you run Vagrant, it always asks to specify a box file. vm:

Because I used Packer to create an AMI, it doesn't give you an actual box file, it only provides a custom AMI ID.

Is there a way to configure the Vagrant file to specify an AMI ID instead of a box file?

dragon788 commented 4 years ago

Did you follow the directions from the README to use the dummy box name and supply the other AWS information? https://github.com/mitchellh/vagrant-aws#quick-start