Multiple providers in a single vagrant file?

后端 未结 7 1608
一整个雨季
一整个雨季 2021-01-18 01:50

I\'ve got a vagrant file that builds a local VM. I want to add the EC2 provider and have the option of either provisioning a local VM or one on EC2.

Can I create co

7条回答
  •  佛祖请我去吃肉
    2021-01-18 02:21

    To run VM locally you can run: vagrant up --provider=virtualbox and if you'd like to run VM using different provider then you can use: vagrant up --provider=aws

    However, remember that you have to install appropriate provider plugin before you will use it.

提交回复
热议问题