Hello all,
I've been experimenting with the Ansible ec2 modules and I'm looking for a way to set the default volume created to have the "delete on termination" option set.
I found these volume options:
volumes:
- device_name: /dev/sda1
volume_size: 512
delete_on_termination: true
but this seems to create a secondary volume and only that one is set to delete on termination. How can I do the same thing for the volume created with the instance? I don't want a secondary volume in this case.
Any help is appreciated, thanks!