-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ec2_instance fails when trying to run instance using a launch template without a defined default subnet #2321
Comments
softwarefactory-project-zuul bot
pushed a commit
that referenced
this issue
Dec 4, 2024
SUMMARY Closes #2321 ISSUE TYPE Bugfix Pull Request COMPONENT NAME ec2_instance Reviewed-by: Alina Buzachis Reviewed-by: Mike Graves <[email protected]> Reviewed-by: GomathiselviS <[email protected]> Reviewed-by: Bikouo Aubin
patchback bot
pushed a commit
that referenced
this issue
Dec 4, 2024
SUMMARY Closes #2321 ISSUE TYPE Bugfix Pull Request COMPONENT NAME ec2_instance Reviewed-by: Alina Buzachis Reviewed-by: Mike Graves <[email protected]> Reviewed-by: GomathiselviS <[email protected]> Reviewed-by: Bikouo Aubin (cherry picked from commit 5e17269)
alinabuzachis
pushed a commit
to alinabuzachis/amazon.aws
that referenced
this issue
Jan 15, 2025
SUMMARY Closes ansible-collections#2321 ISSUE TYPE Bugfix Pull Request COMPONENT NAME ec2_instance Reviewed-by: Alina Buzachis Reviewed-by: Mike Graves <[email protected]> Reviewed-by: GomathiselviS <[email protected]> Reviewed-by: Bikouo Aubin
alinabuzachis
pushed a commit
to alinabuzachis/amazon.aws
that referenced
this issue
Jan 15, 2025
SUMMARY Closes ansible-collections#2321 ISSUE TYPE Bugfix Pull Request COMPONENT NAME ec2_instance Reviewed-by: Alina Buzachis Reviewed-by: Mike Graves <[email protected]> Reviewed-by: GomathiselviS <[email protected]> Reviewed-by: Bikouo Aubin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: