Multiple providers in a single vagrant file?

后端 未结 7 1602
一整个雨季
一整个雨季 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条回答
  •  萌比男神i
    2021-01-18 02:15

    You can use a multi-vm environment, where every VM can be provisioned with a different provider and you can choose on commandline which one you want to vagrant up .

提交回复
热议问题