Open isuftin opened 2 years ago
Seems like this was also an issue in Molecule 4.0.2.
4.0.1 works as expected
Same problem here.
Do you know how can be fixed?
Thanks in advance.
@rsicart - Unfortunately I've not found any workaround for this. The only way I can figure to make this is to hard-code the EBS volumes into create.yml :(
Issue Type
Molecule and Ansible details
Molecule installation method (one of):
Ansible installation method (one of):
Detail any linters or test runners used:
Desired Behavior
The Molecule EC2 driver uses the amazon.aws.ec2_instance module to drive machine creation. This means that if we specify volumes in a platform, it should be a list of dict, not a list of string. The latest release of Molecule mandates that volumes be a list of strings as per https://raw.githubusercontent.com/ansible-community/molecule/main/src/molecule/data/molecule.json
This breaks us being able to use the Molecule EC2 driver.
The desired behavior is to not break on the unexpected volumes param type
Actual Behaviour
Example platform: