ec2_ami is not deleting snapshots #39541
Labels
affects_2.5
This issue/PR affects Ansible v2.5
aws
bug
This issue/PR relates to a bug.
cloud
module
This issue/PR relates to a module.
support:certified
This issue/PR relates to certified code.
ISSUE TYPE
COMPONENT NAME
ec2_ami
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
CentOS Linux release 7.4.1708 (Core)
SUMMARY
ec2_ami module does not appear to be deleting snapshots when using the "delete_snapshot=yes" parameter.
STEPS TO REPRODUCE
ansible -m ec2_ami -a "delete_snapshot=yes state=absent wait=yes image_id=ami-0ee6716f" localhost
EXPECTED RESULTS
Expected a response with non-empty "snapshots_deleted" list.
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: