-
Notifications
You must be signed in to change notification settings - Fork 341
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_asg] fail when update tags inside ASG with KeyError; 'LaunchTemplate #2118
Comments
@thinkopensource This code is only to add new tags to and existing ASG, so there is no template or launchconfig. The objective is to replicate this command in ansible module |
@thinkopensource can you provide the version of the collection you are using? |
.local/lib/python3.10/site-packages/ansible_collections amazon.aws 7.5.0 /usr/lib/python3/dist-packages/ansible_collectionsCollection Version amazon.aws 7.6.0 But is true that appears 2 times, can affect this? |
Hi @Akasurde @thinkopensource, I tried adding a tag to the existing ASG and didn't encounter any issues with both the latest amazon.aws collection and amazon.aws 7.5.0. From the module code, it appears that if the ASG exists, the launch template for the ASG will be available and won't result in the error mentioned above. Could you please share the output of asg_info from the playbook above? Additionally, please refer to a similar task used for testing this module. |
Hi @Akasurde @thinkopensource , since the issue is not reproducible from our end, I am closing this issue. If you happen to reencounter the issue, please feel free to reopen it. |
Summary
`trying to add new tag inside my current ASG created before seems apply changes but appears this error and break
Issue Type
Bug Report
Component Name
ec2_asg
Ansible Version
Configuration
OS / Environment
Ubuntu 22.04 WSL
Steps to Reproduce
Expected Results
New tag added to ASG
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: