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

ssm_parameter: add support for tags (#1573) #1575

Conversation

mikehas
Copy link
Contributor

@mikehas mikehas commented Oct 28, 2022

SUMMARY

Adding support for tags following community guidelines and other practices from other modules. secretsmanager_secret was used along with helper functions from ec2 code. Addresses open issue for feature request #1573.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

ssm_parameter

ADDITIONAL INFORMATION

@github-actions
Copy link

github-actions bot commented Oct 28, 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 ansibullbot added community_review feature This issue/PR relates to a feature request integration tests/integration module module needs_triage new_contributor Help guide this first time contributor plugins plugin (any type) tests tests labels Oct 28, 2022
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

✔️ ansible-galaxy-importer SUCCESS in 4m 07s
✔️ build-ansible-collection SUCCESS in 5m 37s
✔️ ansible-test-sanity-docker-devel SUCCESS in 9m 59s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 9m 57s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 11m 07s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 10m 08s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 10m 18s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 7m 04s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 6m 20s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 6m 48s
✔️ ansible-test-splitter SUCCESS in 3m 08s
✔️ integration-community.aws-1 SUCCESS in 6m 15s
⚠️ 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
⚠️ integration-community.aws-14 SKIPPED
⚠️ integration-community.aws-15 SKIPPED
⚠️ integration-community.aws-16 SKIPPED
⚠️ integration-community.aws-17 SKIPPED
⚠️ integration-community.aws-18 SKIPPED
✔️ ansible-test-changelog SUCCESS in 3m 00s

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

✔️ ansible-galaxy-importer SUCCESS in 4m 00s
✔️ build-ansible-collection SUCCESS in 5m 27s
✔️ ansible-test-sanity-docker-devel SUCCESS in 8m 41s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 10m 14s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 10m 38s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 12m 52s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 9m 52s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 6m 11s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 6m 11s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 7m 36s
✔️ ansible-test-splitter SUCCESS in 3m 18s
✔️ integration-community.aws-1 SUCCESS in 8m 12s
⚠️ 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
⚠️ integration-community.aws-14 SKIPPED
⚠️ integration-community.aws-15 SKIPPED
⚠️ integration-community.aws-16 SKIPPED
⚠️ integration-community.aws-17 SKIPPED
⚠️ integration-community.aws-18 SKIPPED
✔️ ansible-test-changelog SUCCESS in 2m 18s

@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

ansible-galaxy-importer RETRY_LIMIT in 3m 59s
✔️ build-ansible-collection SUCCESS in 5m 40s
ansible-test-sanity-docker-devel RETRY_LIMIT in 5m 32s (non-voting)
ansible-test-sanity-docker-milestone RETRY_LIMIT in 5m 23s (non-voting)
ansible-test-sanity-docker-stable-2.12 RETRY_LIMIT in 1m 40s
ansible-test-sanity-docker-stable-2.13 RETRY_LIMIT in 5m 27s
ansible-test-sanity-docker-stable-2.14 RETRY_LIMIT in 8m 32s
ansible-test-units-amazon-aws-python36 RETRY_LIMIT in 5m 43s
ansible-test-units-amazon-aws-python38 RETRY_LIMIT in 4m 39s
ansible-test-units-amazon-aws-python39 RETRY_LIMIT in 4m 57s
✔️ ansible-test-changelog SUCCESS in 2m 27s
✔️ ansible-test-splitter SUCCESS in 2m 53s
integration-community.aws-1 RETRY_LIMIT in 4m 58s
integration-community.aws-2 RETRY_LIMIT in 5m 55s
integration-community.aws-3 RETRY_LIMIT in 1m 34s
integration-community.aws-4 RETRY_LIMIT in 3m 45s
integration-community.aws-5 RETRY_LIMIT in 6m 39s
integration-community.aws-6 RETRY_LIMIT in 1m 37s
integration-community.aws-7 RETRY_LIMIT in 3m 48s
integration-community.aws-8 RETRY_LIMIT in 1m 35s
integration-community.aws-9 RETRY_LIMIT in 5m 57s
integration-community.aws-10 RETRY_LIMIT in 1m 37s
integration-community.aws-11 RETRY_LIMIT in 4m 39s
integration-community.aws-12 RETRY_LIMIT in 3m 41s
integration-community.aws-13 RETRY_LIMIT in 3m 31s
integration-community.aws-14 RETRY_LIMIT in 3m 28s
integration-community.aws-15 RETRY_LIMIT in 3m 35s
integration-community.aws-16 RETRY_LIMIT in 6m 43s
integration-community.aws-17 RETRY_LIMIT in 3m 34s
integration-community.aws-18 RETRY_LIMIT in 3m 34s
integration-community.aws-19 RETRY_LIMIT in 3m 33s
integration-community.aws-20 RETRY_LIMIT in 3m 38s
integration-community.aws-21 RETRY_LIMIT in 4m 59s
integration-community.aws-22 RETRY_LIMIT in 3m 32s

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

✔️ ansible-galaxy-importer SUCCESS in 4m 06s
✔️ build-ansible-collection SUCCESS in 5m 13s
✔️ ansible-test-sanity-docker-devel SUCCESS in 11m 55s (non-voting)
ansible-test-sanity-docker-milestone FAILURE in 10m 10s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 9m 04s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 9m 48s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 11m 30s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 6m 44s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 5m 51s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 6m 00s
✔️ ansible-test-changelog SUCCESS in 2m 16s
✔️ ansible-test-splitter SUCCESS in 2m 52s
✔️ integration-community.aws-1 SUCCESS in 6m 44s
⚠️ 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
⚠️ integration-community.aws-14 SKIPPED
⚠️ integration-community.aws-15 SKIPPED
⚠️ integration-community.aws-16 SKIPPED
⚠️ integration-community.aws-17 SKIPPED
⚠️ integration-community.aws-18 SKIPPED
⚠️ integration-community.aws-19 SKIPPED
⚠️ integration-community.aws-20 SKIPPED
⚠️ integration-community.aws-21 SKIPPED
⚠️ integration-community.aws-22 SKIPPED

@mikehas
Copy link
Contributor Author

mikehas commented Nov 21, 2022

Hi @alinabuzachis, I think I've addressed all the comments so far. Is there anything else I can do to help increase the chances of this PR getting merged?

@mikehas
Copy link
Contributor Author

mikehas commented Dec 1, 2022

Hi @alinabuzachis, I think I've addressed all the comments so far. Is there anything else I can do to help increase the chances of this PR getting merged?

cc @116davinder @jillr @markuman @mikedlr @nathanwebsterdotme @ozbillwang @s-hertel @tremble

@116davinder
Copy link
Contributor

LGTM

@markuman markuman added the backport-5 PR should be backported to the stable-5 branch label Dec 21, 2022
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

✔️ ansible-galaxy-importer SUCCESS in 3m 59s
✔️ build-ansible-collection SUCCESS in 5m 05s
✔️ ansible-test-sanity-docker-devel SUCCESS in 13m 09s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 11m 39s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 10m 05s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 8m 42s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 10m 04s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 7m 37s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 7m 11s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 6m 44s
✔️ ansible-test-changelog SUCCESS in 2m 21s
✔️ ansible-test-splitter SUCCESS in 2m 38s
✔️ integration-community.aws-1 SUCCESS in 7m 40s
⚠️ 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
⚠️ integration-community.aws-14 SKIPPED
⚠️ integration-community.aws-15 SKIPPED
⚠️ integration-community.aws-16 SKIPPED
⚠️ integration-community.aws-17 SKIPPED
⚠️ integration-community.aws-18 SKIPPED
⚠️ integration-community.aws-19 SKIPPED
⚠️ integration-community.aws-20 SKIPPED
⚠️ integration-community.aws-21 SKIPPED
⚠️ integration-community.aws-22 SKIPPED

plugins/modules/ssm_parameter.py Outdated Show resolved Hide resolved
plugins/modules/ssm_parameter.py Outdated Show resolved Hide resolved
plugins/modules/ssm_parameter.py Outdated Show resolved Hide resolved
plugins/modules/ssm_parameter.py Outdated Show resolved Hide resolved
@@ -208,12 +236,37 @@
description: Parameter version number
example: 3
returned: success
tags:
Copy link
Contributor

Choose a reason for hiding this comment

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

@markuman What if we only return tags as a dictionary rather than a list of dicts and remove tags_dict from the response?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@markuman @alinabuzachis To provide a little context, tags_dict was copied over from plugins/modules/secretsmanager_secret.py. I'd be happy to remove the code if you'd like.

Copy link
Contributor

Choose a reason for hiding this comment

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

secretsmanager_secret has some compatibility code in there because it originally returned the "boto3 style" (list of dicts) format, rather than the normal simple dictionary.

We often just convert the resource objects the APIs return from CamelCase to snake_case, and add that as part of what the module returns. When AWS suddenly adds support for Tags to a resource and changes what the API returns, we start returning the list-of-dict style tags, and need to go through a deprecation cycle before we can return the simple dict.

Since returning tags is new to this module, we can skip the "list-of-dict" and just return the "dict" format as "tags".

Copy link
Contributor

Choose a reason for hiding this comment

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

(There are also some cases where reviews simply missed that the module originally returned the boto3 style tags)

  • We're trying to tidy this up :)

@ansibullbot ansibullbot added needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR and removed community_review labels Jan 11, 2023
@ansibullbot ansibullbot added community_review and removed merge_commit This PR contains at least one merge commit. Please resolve! needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html labels Jan 18, 2023
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

✔️ ansible-galaxy-importer SUCCESS in 3m 53s
✔️ build-ansible-collection SUCCESS in 6m 30s
✔️ ansible-test-sanity-docker-devel SUCCESS in 11m 19s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 11m 27s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 9m 29s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 11m 51s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 11m 54s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 7m 31s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 7m 35s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 8m 02s
✔️ ansible-test-units-amazon-aws-python310 SUCCESS in 6m 29s
✔️ ansible-test-changelog SUCCESS in 4m 18s
✔️ ansible-test-splitter SUCCESS in 4m 01s
✔️ integration-community.aws-1 SUCCESS in 7m 55s
⚠️ 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
⚠️ integration-community.aws-14 SKIPPED
⚠️ integration-community.aws-15 SKIPPED
⚠️ integration-community.aws-16 SKIPPED
⚠️ integration-community.aws-17 SKIPPED
⚠️ integration-community.aws-18 SKIPPED
⚠️ integration-community.aws-19 SKIPPED
⚠️ integration-community.aws-20 SKIPPED
⚠️ integration-community.aws-21 SKIPPED
⚠️ integration-community.aws-22 SKIPPED

Copy link
Contributor

@tremble tremble left a comment

Choose a reason for hiding this comment

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

Many thanks for this, and I'm sorry we missed responding in time to get this into 5.2.0. For the sake of getting this merged I'll update the version information and drop the boto3-style tags.

- amazon.aws.tags

notes:
- Support for I(tags) and I(purge_tags) was added in release 5.2.0.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- Support for I(tags) and I(purge_tags) was added in release 5.2.0.
- Support for I(tags) and I(purge_tags) was added in release 5.3.0.

@@ -208,12 +236,37 @@
description: Parameter version number
example: 3
returned: success
tags:
Copy link
Contributor

Choose a reason for hiding this comment

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

secretsmanager_secret has some compatibility code in there because it originally returned the "boto3 style" (list of dicts) format, rather than the normal simple dictionary.

We often just convert the resource objects the APIs return from CamelCase to snake_case, and add that as part of what the module returns. When AWS suddenly adds support for Tags to a resource and changes what the API returns, we start returning the list-of-dict style tags, and need to go through a deprecation cycle before we can return the simple dict.

Since returning tags is new to this module, we can skip the "list-of-dict" and just return the "dict" format as "tags".

@tremble tremble linked an issue Feb 2, 2023 that may be closed by this pull request
1 task
@tremble tremble force-pushed the feature/1573_ssm_parameter_tags2 branch from 23e57e4 to 7642cee Compare February 2, 2023 08:54
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

✔️ ansible-galaxy-importer SUCCESS in 3m 47s
✔️ build-ansible-collection SUCCESS in 5m 41s
✔️ ansible-test-sanity-docker-devel SUCCESS in 9m 52s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 9m 57s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 10m 07s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 9m 42s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 9m 33s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 6m 17s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 5m 45s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 5m 32s
✔️ ansible-test-units-amazon-aws-python310 SUCCESS in 5m 57s
✔️ ansible-test-changelog SUCCESS in 2m 25s
✔️ ansible-test-splitter SUCCESS in 2m 30s
✔️ integration-community.aws-1 SUCCESS in 7m 43s
⚠️ 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
⚠️ integration-community.aws-14 SKIPPED
⚠️ integration-community.aws-15 SKIPPED
⚠️ integration-community.aws-16 SKIPPED
⚠️ integration-community.aws-17 SKIPPED
⚠️ integration-community.aws-18 SKIPPED
⚠️ integration-community.aws-19 SKIPPED
⚠️ integration-community.aws-20 SKIPPED
⚠️ integration-community.aws-21 SKIPPED
⚠️ integration-community.aws-22 SKIPPED

@tremble tremble added the mergeit Merge the PR (SoftwareFactory) label Feb 2, 2023
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded (gate pipeline).

✔️ ansible-galaxy-importer SUCCESS in 3m 50s
✔️ build-ansible-collection SUCCESS in 5m 34s
✔️ ansible-test-sanity-docker-devel SUCCESS in 10m 10s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 10m 20s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 10m 04s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 9m 46s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 9m 41s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 6m 34s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 6m 41s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 9m 23s
✔️ ansible-test-units-amazon-aws-python310 SUCCESS in 5m 47s
✔️ ansible-test-changelog SUCCESS in 2m 15s
✔️ ansible-test-splitter SUCCESS in 2m 50s
✔️ integration-community.aws-1 SUCCESS in 6m 26s
⚠️ 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
⚠️ integration-community.aws-14 SKIPPED
⚠️ integration-community.aws-15 SKIPPED
⚠️ integration-community.aws-16 SKIPPED
⚠️ integration-community.aws-17 SKIPPED
⚠️ integration-community.aws-18 SKIPPED
⚠️ integration-community.aws-19 SKIPPED
⚠️ integration-community.aws-20 SKIPPED
⚠️ integration-community.aws-21 SKIPPED
⚠️ integration-community.aws-22 SKIPPED

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit 7a2b5d9 into ansible-collections:main Feb 2, 2023
@patchback
Copy link

patchback bot commented Feb 2, 2023

Backport to stable-5: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-5/7a2b5d98cf9c71dfa36d862471ecd3083c9e4b1f/pr-1575

Backported as #1691

🤖 @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 Feb 2, 2023
ssm_parameter: add support for tags (#1573)

SUMMARY

Adding support for tags following community guidelines and other practices from other modules. secretsmanager_secret was used along with helper functions from ec2 code. Addresses open issue for feature request #1573.

ISSUE TYPE

Feature Pull Request

COMPONENT NAME

ssm_parameter
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>
Reviewed-by: Michael Haskell (mikehas) <None>
Reviewed-by: Dennis Qian <None>
Reviewed-by: Markus Bergholz <[email protected]>
Reviewed-by: Mark Chappell <None>
(cherry picked from commit 7a2b5d9)
@tremble
Copy link
Contributor

tremble commented Feb 2, 2023

@mikehas thanks for taking the time to submit this PR, I'm sorry it got stuck for a while.

softwarefactory-project-zuul bot pushed a commit that referenced this pull request Feb 2, 2023
[PR #1575/7a2b5d98 backport][stable-5] ssm_parameter: add support for tags (#1573)

This is a backport of PR #1575 as merged into main (7a2b5d9).
SUMMARY

Adding support for tags following community guidelines and other practices from other modules. secretsmanager_secret was used along with helper functions from ec2 code. Addresses open issue for feature request #1573.

ISSUE TYPE


Feature Pull Request

COMPONENT NAME

ssm_parameter
ADDITIONAL INFORMATION

Reviewed-by: Mark Chappell <None>
abikouo pushed a commit to abikouo/community.aws that referenced this pull request Oct 24, 2023
… is compressed (ansible-collections#1575)

ec2_metadata_facts - Handle decompression when EC2 instance user-data is compressed

SUMMARY

Handle decompression when user-data is compressed. The fetch_url method from ansible.module_utils.urls does not decompress the user-data because the header is missing (The API does not set 'Content-Encoding' = 'gzip').

ISSUE TYPE


Bugfix Pull Request

COMPONENT NAME

ec2_metadata_facts
ADDITIONAL INFORMATION

Reviewed-by: Mike Graves <[email protected]>
Reviewed-by: Mark Chappell
Reviewed-by: Alina Buzachis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-5 PR should be backported to the stable-5 branch community_review feature This issue/PR relates to a feature request integration tests/integration mergeit Merge the PR (SoftwareFactory) module module new_contributor Help guide this first time contributor plugins plugin (any type) tests tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support tags in SSM Parameter Store
7 participants