-
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_vol preserves Name Tag to None and removes other Tags from volume #229
Comments
We are facing the same issue. And when the tag begins with "aws:", an exception is thrown because aws doesn't allow modifying/deleting those reserved tags. |
Hi, thank you for the your bug report. It sounds like the regression has been introduced between 1.2.0 and 1.3.0. Can you give a try to 1.2.0 to see if this version work for you? |
Just a quick note from me before the weekend: I have not tried to reproduce this again with 1.2.0, but I had been using So yes. I assume this would still work with 1.2.0. Maybe #53 somehow introduced this issue? |
Likely introduced by
I suspect that switching the final 'False' to 'True' should restore the old behaviour |
Hi @jaudriga, Can you try the two following changes: |
@goneri Yes. That fixes it for me.
|
I am facing the similiar issue so has this been backported to 2.10 branch? I am currently using 2.10.18 and i still see this issue. Can someone please help? |
Hi @kbrahmbh! This change is unlikely to get backported. The best you can do is to install the last release of |
…#229) * Type conversion issue for creating read replicas * Added changelog snippet * Updated tests This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@cd938b2
…#229) * Type conversion issue for creating read replicas * Added changelog snippet * Updated tests This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@cd938b2
…#229) * Type conversion issue for creating read replicas * Added changelog snippet * Updated tests This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@cd938b2
…#229) * Type conversion issue for creating read replicas * Added changelog snippet * Updated tests This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@cd938b2
…#229) * Type conversion issue for creating read replicas * Added changelog snippet * Updated tests This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@cd938b2
…#229) * Type conversion issue for creating read replicas * Added changelog snippet * Updated tests This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@cd938b2
…#229) * Type conversion issue for creating read replicas * Added changelog snippet * Updated tests This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@cd938b2
…#229) * Type conversion issue for creating read replicas * Added changelog snippet * Updated tests This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@cd938b2
…#229) * Type conversion issue for creating read replicas * Added changelog snippet * Updated tests This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@cd938b2
…#229) * Type conversion issue for creating read replicas * Added changelog snippet * Updated tests This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@cd938b2
…#229) * Type conversion issue for creating read replicas * Added changelog snippet * Updated tests This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@cd938b2
…#229) * Type conversion issue for creating read replicas * Added changelog snippet * Updated tests
…#229) * Type conversion issue for creating read replicas * Added changelog snippet * Updated tests
…#229) * Type conversion issue for creating read replicas * Added changelog snippet * Updated tests
SUMMARY
ec2_vol sets Name tag to
None
and removes all other Tags from volume.It works when I use ansible 2.9 and
ec2_vol
instead ofamazon.aws.ec2_vol
.ISSUE TYPE
COMPONENT NAME
ec2_vol
ANSIBLE VERSION
Also reproduced with ansible 2.10.
CONFIGURATION
OS / ENVIRONMENT
I am using amazon.aws version 1.3.0
STEPS TO REPRODUCE
Run the following from an ec2 machine with a volume that has the appropriate tags.
EXPECTED RESULTS
Tags should be left alone.
ACTUAL RESULTS
Tags get changed:
The text was updated successfully, but these errors were encountered: