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
When trying to run instance using a launch template in an AWS environment where no default subnet is defined, the module fails with the following message
fatal: [localhost]: FAILED! => {"changed": false, "msg": "No default subnet could be found - you must include a VPC subnet ID (vpc_subnet_id parameter)."}
fatal: [localhost]: FAILED! => {"changed": false, "msg": "No default subnet could be found - you must include a VPC subnet ID (vpc_subnet_id parameter)."}
Code of Conduct
I agree to follow the Ansible Code of Conduct
The text was updated successfully, but these errors were encountered:
Summary
When trying to run instance using a launch template in an AWS environment where no default subnet is defined, the module fails with the following message
Issue Type
Bug Report
Component Name
ec2_instance
Ansible Version
$ ansible --version
Collection Versions
$ ansible-galaxy collection list
AWS SDK versions
$ pip show boto boto3 botocore
Configuration
$ ansible-config dump --only-changed
OS / Environment
No response
Steps to Reproduce
Expected Results
The module should succeed
Actual Results
fatal: [localhost]: FAILED! => {"changed": false, "msg": "No default subnet could be found - you must include a VPC subnet ID (vpc_subnet_id parameter)."}
Code of Conduct
The text was updated successfully, but these errors were encountered: