You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PLAY [Destroy] *****************************************************************TASK [Validate platform configurations] ****************************************ok: [localhost] => (item=certificate-configure)ok: [localhost] => (item=certificate-configure-arm)TASK [Look up subnets to determine VPCs (if needed)] ***************************ok: [localhost] => (item=certificate-configure)ok: [localhost] => (item=certificate-configure-arm)TASK [Validate discovered information] *****************************************ok: [localhost] => (item=certificate-configure)ok: [localhost] => (item=certificate-configure-arm)TASK [Destroy ephemeral EC2 instances] *****************************************changed: [localhost] => (item=certificate-configure)ok: [localhost] => (item=certificate-configure-arm)TASK [you dead yet] ************************************************************fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: {{ ec2_instances_async.results[0].instances[index] }}: list object has no element 1. list object has no element 1. {{ ec2_instances_async.results[0].instances[index] }}: list object has no element 1. list object has no element 1\n\nThe error appears to be in '/Users/matt.horwood/git/dev-ops-ansible/roles/certificate-configure/molecule/default/destroy.yml': line 96, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: you dead yet\n ^ here\n"}ok: [localhost] => (item=certificate-configure)
Code of Conduct
I agree to follow the Ansible Code of Conduct
The text was updated successfully, but these errors were encountered:
Summary
when running molecule a molecule test, any instance not made with molecule is destroyed
Issue Type
Bug Report
Component Name
ec2_instance
Ansible Version
Collection Versions
AWS SDK versions
Configuration
OS / Environment
AWS CLI
Steps to Reproduce
Expected Results
when I run a destroy either nothing happens or
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: