Skip to content
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

Conversation

tremble
Copy link
Contributor

@tremble tremble commented May 30, 2022

SUMMARY

Cleanup related to the tagging fragment

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

ecs_tag
efs_tag

ADDITIONAL INFORMATION

@github-actions
Copy link

github-actions bot commented May 30, 2022

Docs Build 📝

Thank you for contribution!✨

This PR has been merged and your docs changes will be incorporated when they are next published.

@ansibullbot
Copy link

@ansibullbot ansibullbot added community_review feature This issue/PR relates to a feature request module module needs_triage owner_pr PR created by owner/maintainer plugins plugin (any type) labels May 30, 2022
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

ansible-galaxy-importer FAILURE in 4m 45s (non-voting)
✔️ build-ansible-collection SUCCESS in 4m 54s
✔️ ansible-test-sanity-docker-devel SUCCESS in 9m 07s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 10m 03s
✔️ ansible-test-sanity-docker-stable-2.9 SUCCESS in 12m 50s
✔️ ansible-test-sanity-docker-stable-2.11 SUCCESS in 10m 48s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 10m 28s
✔️ ansible-test-units-community-aws-python38 SUCCESS in 5m 47s
✔️ ansible-test-splitter SUCCESS in 2m 25s
✔️ integration-community.aws-1 SUCCESS in 11m 04s
⚠️ integration-community.aws-2 SKIPPED
⚠️ integration-community.aws-3 SKIPPED
⚠️ integration-community.aws-4 SKIPPED
⚠️ integration-community.aws-5 SKIPPED
⚠️ integration-community.aws-6 SKIPPED
⚠️ integration-community.aws-7 SKIPPED
⚠️ integration-community.aws-8 SKIPPED
⚠️ integration-community.aws-9 SKIPPED
⚠️ integration-community.aws-10 SKIPPED
⚠️ integration-community.aws-11 SKIPPED
⚠️ integration-community.aws-12 SKIPPED
⚠️ integration-community.aws-13 SKIPPED

@tremble tremble added the backport-3 PR should be backported to the stable-3 branch label May 31, 2022
@@ -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),
Copy link
Contributor

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?

Copy link
Contributor Author

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

Copy link
Contributor Author

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),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

@tremble tremble added the mergeit Merge the PR (SoftwareFactory) label Jun 1, 2022
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded (gate pipeline).

ansible-galaxy-importer FAILURE in 5m 04s (non-voting)
✔️ build-ansible-collection SUCCESS in 4m 51s
✔️ ansible-test-sanity-docker-devel SUCCESS in 11m 06s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 10m 52s
✔️ ansible-test-sanity-docker-stable-2.9 SUCCESS in 12m 24s
✔️ ansible-test-sanity-docker-stable-2.11 SUCCESS in 11m 07s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 11m 27s
✔️ ansible-test-units-community-aws-python38 SUCCESS in 5m 36s
✔️ ansible-test-splitter SUCCESS in 2m 24s
✔️ integration-community.aws-1 SUCCESS in 8m 39s
⚠️ integration-community.aws-2 SKIPPED
⚠️ integration-community.aws-3 SKIPPED
⚠️ integration-community.aws-4 SKIPPED
⚠️ integration-community.aws-5 SKIPPED
⚠️ integration-community.aws-6 SKIPPED
⚠️ integration-community.aws-7 SKIPPED
⚠️ integration-community.aws-8 SKIPPED
⚠️ integration-community.aws-9 SKIPPED
⚠️ integration-community.aws-10 SKIPPED
⚠️ integration-community.aws-11 SKIPPED
⚠️ integration-community.aws-12 SKIPPED
⚠️ integration-community.aws-13 SKIPPED

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit f1e1d06 into ansible-collections:main Jun 1, 2022
@patchback
Copy link

patchback bot commented Jun 1, 2022

Backport to stable-3: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-3/f1e1d06f5ccc26bf3458d1850aed6d599ebba6fb/pr-1184

Backported as #1191

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Jun 1, 2022
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)
softwarefactory-project-zuul bot pushed a commit that referenced this pull request Jun 1, 2022
[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>
@tremble tremble deleted the tagging/add_tags branch July 7, 2022 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-3 PR should be backported to the stable-3 branch community_review feature This issue/PR relates to a feature request mergeit Merge the PR (SoftwareFactory) module module needs_triage owner_pr PR created by owner/maintainer plugins plugin (any type)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants