-
Notifications
You must be signed in to change notification settings - Fork 398
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
ecs_tag/efs_tag - add resource_tags as alias for tags #1184
ecs_tag/efs_tag - add resource_tags as alias for tags #1184
Conversation
Docs Build 📝Thank you for contribution!✨ This PR has been merged and your docs changes will be incorporated when they are next published. |
@@ -124,7 +125,7 @@ def main(): | |||
''' | |||
argument_spec = dict( | |||
resource=dict(required=True), | |||
tags=dict(type='dict', required=True), | |||
tags=dict(type='dict', required=True, aliases=['resource_tags']), | |||
purge_tags=dict(type='bool', default=False), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tremble Should't we uniform the default behaviour of purge_tags by defaulting to true even here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't sure. I wanted to get the "easy" bits in first, and was going to follow up with that later
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding the aliases was also something I can backport safely
@@ -155,7 +156,7 @@ def main(): | |||
argument_spec = dict( | |||
cluster_name=dict(required=True), | |||
resource=dict(required=False), | |||
tags=dict(type='dict'), | |||
tags=dict(type='dict', aliases=['resource_tags']), | |||
purge_tags=dict(type='bool', default=False), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
Backport to stable-3: 💚 backport PR created✅ Backport PR branch: Backported as #1191 🤖 @patchback |
ecs_tag/efs_tag - add resource_tags as alias for tags SUMMARY Cleanup related to the tagging fragment ISSUE TYPE Feature Pull Request COMPONENT NAME ecs_tag efs_tag ADDITIONAL INFORMATION Reviewed-by: Alina Buzachis <None> Reviewed-by: Mark Chappell <None> (cherry picked from commit f1e1d06)
[PR #1184/f1e1d06f backport][stable-3] ecs_tag/efs_tag - add resource_tags as alias for tags This is a backport of PR #1184 as merged into main (f1e1d06). SUMMARY Cleanup related to the tagging fragment ISSUE TYPE Feature Pull Request COMPONENT NAME ecs_tag efs_tag ADDITIONAL INFORMATION Reviewed-by: Mark Chappell <None>
SUMMARY
Cleanup related to the tagging fragment
ISSUE TYPE
COMPONENT NAME
ecs_tag
efs_tag
ADDITIONAL INFORMATION