molecule-vagrant icon indicating copy to clipboard operation
molecule-vagrant copied to clipboard

Compatibility with vagrant-aws

Open anthoc opened this issue 4 years ago • 3 comments

Hello,

Do you think that the vagrant aws provider (https://github.com/mitchellh/vagrant-aws) can work together with the molecule vagrant module ?

Thank you

anthoc avatar Oct 06 '20 23:10 anthoc

Hi, in theory, it should work with every vagrant provider. In practice, with the current code, it has few chances to work, which is sad.

There's been some work to correct that in https://github.com/ansible-community/molecule-vagrant/pull/31 but it has been blocked mainly by CI issues. I hope that the CI issues will be solved soon and that work on this PR will resume. Once this PR merged, I hope you'll be able to use vagrant-aws.

apatard avatar Oct 07 '20 14:10 apatard

Hi @apatard. Thank you for your answer. I'm new to molecule and I discovered recently that it is possible to create my own "driver" using the delegated driver, so in the meantime I'll work on this, or use the molecule-ec2 driver. But I hope the problem will we resolved soon for the community. :)

Thank you again

anthoc avatar Oct 08 '20 08:10 anthoc

@anthoc current master branch has https://github.com/ansible-community/molecule-vagrant/commit/0c1aed1fb550a49cf584104a005aab1d67afc014, which changed a lot the way the Vagrantfile is handled and the code "limitation" about vagrant providers should be solved. If you have some spare time, could you please test it with vagrant-aws ? Thanks!

apatard avatar Dec 16 '20 10:12 apatard