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

Instances are created without custom volumes

Open Yethal opened this issue 3 years ago • 4 comments

https://github.com/ansible-community/molecule-ec2/blob/08e1e57bff0d77e8100570e6d9b782171e831dc2/molecule_ec2/cookiecutter/%7B%7Bcookiecutter.molecule_directory%7D%7D/%7B%7Bcookiecutter.scenario_name%7D%7D/create.yml#L74 uses lowercase volumes field name, however molecule schema uses volumes for Docker volumes, ec2 volumes use an uppercase Volumes field. As a result that field never gets merged into instance config. Attempt to name the field volumes instead of Volumes causes a schema validation error

Yethal avatar Nov 03 '22 14:11 Yethal

Workaround: renaming volumes to Volumes everywhere in create.yml works

Yethal avatar Nov 03 '22 14:11 Yethal

Unfortunately there's also https://github.com/ansible-community/molecule-plugins/issues/167

I'm guessing this project is dead and unfortunately I don't know of a fork that's taking on maintenance of it

isuftin avatar Nov 09 '22 15:11 isuftin

Same problem here.

I observed the problem with molecule 4.0.4 and molecule_ec2 or molecule-plugins[ec2]. It used to work with molecule 4.0.0 and molecule_ec2.

Do you know how can be fixed?

Thanks in advance.

rsicart avatar Jan 20 '23 14:01 rsicart

Any news on this issue would be appreciated :)

Akivas avatar Dec 22 '23 18:12 Akivas