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

DNM: module_utils.modules: expose module.params as a readonly dict #1183

Conversation

goneri
Copy link
Member

@goneri goneri commented Oct 19, 2022

Depended-On: #1187
Depended-On: ansible-collections/community.aws#1567

Use a MappingProxyType with no backend to ensure the module.params dict is readonly.

@goneri goneri changed the title module_utils.modules: expose module.params as a readonly dict DNM: module_utils.modules: expose module.params as a readonly dict Oct 19, 2022
@goneri
Copy link
Member Author

goneri commented Oct 19, 2022

I don't necessary want to get this merge. it's a test to see how many tests fail with something like this.

@ansibullbot
Copy link

@goneri: Greetings! Thanks for taking the time to open this pullrequest. In order for the community to handle your pullrequest effectively, we need a bit more information.

Here are the items we could not find in your description:

  • issue type

Please set the description of this pullrequest with this template:
https://raw.githubusercontent.com/ansible/ansible/devel/.github/PULL_REQUEST_TEMPLATE.md

click here for bot help

@ansibullbot ansibullbot added module_utils module_utils needs_info This issue requires further information. Please answer any outstanding questions needs_template This issue/PR has an incomplete description. Please fill in the proposed template correctly needs_triage plugins plugin (any type) labels Oct 19, 2022
@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

✔️ ansible-galaxy-importer SUCCESS in 3m 49s
✔️ build-ansible-collection SUCCESS in 4m 51s
✔️ ansible-test-sanity-aws-ansible-python38 SUCCESS in 9m 11s
✔️ ansible-test-sanity-aws-ansible-2.12-python38 SUCCESS in 9m 52s
✔️ ansible-test-sanity-aws-ansible-2.13-python38 SUCCESS in 9m 22s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 6m 35s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 9m 46s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 6m 23s
✔️ cloud-tox-py3 SUCCESS in 3m 45s
✔️ ansible-test-splitter SUCCESS in 3m 19s
✔️ integration-amazon.aws-1 SUCCESS in 6m 43s
⚠️ integration-amazon.aws-2 SKIPPED
⚠️ integration-amazon.aws-3 SKIPPED
⚠️ integration-amazon.aws-4 SKIPPED
⚠️ integration-amazon.aws-5 SKIPPED
⚠️ integration-amazon.aws-6 SKIPPED
⚠️ integration-amazon.aws-7 SKIPPED
⚠️ integration-amazon.aws-8 SKIPPED
⚠️ integration-amazon.aws-9 SKIPPED
⚠️ integration-amazon.aws-10 SKIPPED
⚠️ integration-amazon.aws-11 SKIPPED
⚠️ integration-amazon.aws-12 SKIPPED
⚠️ integration-amazon.aws-13 SKIPPED
⚠️ integration-amazon.aws-14 SKIPPED
⚠️ integration-amazon.aws-15 SKIPPED
⚠️ integration-amazon.aws-16 SKIPPED
⚠️ integration-amazon.aws-17 SKIPPED
⚠️ integration-amazon.aws-18 SKIPPED
✔️ integration-community.aws-1 SUCCESS in 5m 15s
✔️ integration-community.aws-2 SUCCESS in 23m 48s
⚠️ 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 FAILURE in 2m 13s

@tremble
Copy link
Contributor

tremble commented Oct 20, 2022

check ondemand

@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

✔️ build-ansible-collection SUCCESS in 4m 52s
✔️ ansible-test-splitter SUCCESS in 3m 05s
integration-amazon.aws-1 TIMED_OUT in 1h 00m 51s
integration-amazon.aws-2 RETRY_LIMIT in 1m 33s
✔️ integration-amazon.aws-3 SUCCESS in 12m 23s
integration-amazon.aws-4 FAILURE in 7m 47s
integration-amazon.aws-5 FAILURE in 8m 13s
integration-amazon.aws-6 FAILURE in 7m 30s
integration-amazon.aws-7 FAILURE in 5m 46s
integration-amazon.aws-8 FAILURE in 7m 38s
integration-amazon.aws-9 FAILURE in 21m 40s
integration-amazon.aws-10 FAILURE in 14m 07s
integration-amazon.aws-11 FAILURE in 23m 11s
integration-amazon.aws-12 FAILURE in 24m 12s
integration-amazon.aws-13 FAILURE in 18m 51s
integration-amazon.aws-14 FAILURE in 28m 15s
integration-amazon.aws-15 FAILURE in 19m 07s
⚠️ integration-amazon.aws-16 SKIPPED
⚠️ integration-amazon.aws-17 SKIPPED
⚠️ integration-amazon.aws-18 SKIPPED
✔️ integration-community.aws-1 SUCCESS in 34m 41s
integration-community.aws-2 FAILURE in 15m 36s
✔️ integration-community.aws-3 SUCCESS in 52m 32s
integration-community.aws-4 FAILURE in 24m 36s
✔️ integration-community.aws-5 SUCCESS in 36m 35s
integration-community.aws-6 FAILURE in 40m 01s
integration-community.aws-7 FAILURE in 21m 51s
integration-community.aws-8 FAILURE in 21m 42s
integration-community.aws-9 FAILURE in 33m 17s
integration-community.aws-10 FAILURE in 35m 38s
integration-community.aws-11 FAILURE in 11m 06s
⚠️ 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 FAILURE in 2m 16s

Warning:
Failed to create check run ansible/ondemand: 403 Client Error: Forbidden for url: https://api.github.com/repos/ansible-collections/amazon.aws/check-runs

@tremble
Copy link
Contributor

tremble commented Oct 20, 2022

@goneri Wow, that looks kinda spectacular (although I suspect ec2_instance may be responsible for much of that)

@tremble
Copy link
Contributor

tremble commented Oct 20, 2022

check ondemand

@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

✔️ build-ansible-collection SUCCESS in 4m 38s
✔️ ansible-test-splitter SUCCESS in 2m 56s
integration-amazon.aws-1 FAILURE in 1h 00m 46s
integration-amazon.aws-2 FAILURE in 7m 07s
✔️ integration-amazon.aws-3 SUCCESS in 11m 28s
integration-amazon.aws-4 FAILURE in 7m 44s
integration-amazon.aws-5 FAILURE in 7m 25s
integration-amazon.aws-6 FAILURE in 7m 15s
integration-amazon.aws-7 FAILURE in 5m 33s
integration-amazon.aws-8 FAILURE in 6m 00s
integration-amazon.aws-9 FAILURE in 22m 18s
integration-amazon.aws-10 FAILURE in 14m 36s
integration-amazon.aws-11 FAILURE in 21m 20s
integration-amazon.aws-12 FAILURE in 25m 22s
integration-amazon.aws-13 FAILURE in 16m 43s
integration-amazon.aws-14 FAILURE in 23m 39s
integration-amazon.aws-15 FAILURE in 20m 04s
⚠️ integration-amazon.aws-16 SKIPPED
⚠️ integration-amazon.aws-17 SKIPPED
⚠️ integration-amazon.aws-18 SKIPPED
✔️ integration-community.aws-1 SUCCESS in 30m 25s
integration-community.aws-2 FAILURE in 15m 16s
✔️ integration-community.aws-3 SUCCESS in 50m 23s
integration-community.aws-4 FAILURE in 25m 52s
integration-community.aws-5 RETRY_LIMIT in 1m 36s
integration-community.aws-6 FAILURE in 46m 46s
integration-community.aws-7 FAILURE in 23m 13s
integration-community.aws-8 FAILURE in 19m 05s
integration-community.aws-9 FAILURE in 38m 44s
integration-community.aws-10 FAILURE in 38m 37s
integration-community.aws-11 FAILURE in 13m 13s
⚠️ 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 FAILURE in 2m 26s

Warning:
Failed to create check run ansible/ondemand: 403 Client Error: Forbidden for url: https://api.github.com/repos/ansible-collections/amazon.aws/check-runs

@goneri
Copy link
Member Author

goneri commented Oct 25, 2022

check ondemand

@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

✔️ build-ansible-collection SUCCESS in 5m 47s
✔️ ansible-test-splitter SUCCESS in 2m 56s
integration-amazon.aws-1 FAILURE in 1h 00m 16s
✔️ integration-amazon.aws-2 SUCCESS in 19m 03s
✔️ integration-amazon.aws-3 SUCCESS in 14m 00s
integration-amazon.aws-4 FAILURE in 8m 52s
integration-amazon.aws-5 FAILURE in 17m 12s
integration-amazon.aws-6 FAILURE in 7m 08s
integration-amazon.aws-7 FAILURE in 6m 16s
✔️ integration-amazon.aws-8 SUCCESS in 53m 09s
integration-amazon.aws-9 FAILURE in 39m 31s
✔️ integration-amazon.aws-10 SUCCESS in 28m 42s
integration-amazon.aws-11 FAILURE in 29m 17s
✔️ integration-amazon.aws-12 SUCCESS in 35m 32s
integration-amazon.aws-13 FAILURE in 24m 09s
integration-amazon.aws-14 FAILURE in 30m 18s
integration-amazon.aws-15 FAILURE in 16m 59s
⚠️ integration-amazon.aws-16 SKIPPED
⚠️ integration-amazon.aws-17 SKIPPED
⚠️ integration-amazon.aws-18 SKIPPED
✔️ integration-community.aws-1 SUCCESS in 30m 14s
✔️ integration-community.aws-2 SUCCESS in 27m 53s
✔️ integration-community.aws-3 SUCCESS in 59m 37s
integration-community.aws-4 FAILURE in 24m 32s
✔️ integration-community.aws-5 SUCCESS in 29m 40s
✔️ integration-community.aws-6 SUCCESS in 45m 16s
integration-community.aws-7 FAILURE in 22m 10s
integration-community.aws-8 FAILURE in 21m 59s
integration-community.aws-9 FAILURE in 35m 15s
integration-community.aws-10 FAILURE in 35m 41s
integration-community.aws-11 FAILURE in 10m 24s
⚠️ 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 FAILURE in 2m 57s

Warning:
Failed to create check run ansible/ondemand: 403 Client Error: Forbidden for url: https://api.github.com/repos/ansible-collections/amazon.aws/check-runs

Use a MappingProxyType without backend to ensure the `module.params`
dict is readonly.
@tremble tremble force-pushed the module_utils.modules-expose-module.params-as-a-readonly-dict_30660 branch from 7c7adf6 to 06142c4 Compare January 10, 2023 17:48
@ansibullbot ansibullbot added the small_patch Hopefully easy to review label Jan 10, 2023
@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

✔️ ansible-galaxy-importer SUCCESS in 4m 28s
✔️ build-ansible-collection SUCCESS in 5m 56s
✔️ ansible-test-sanity-aws-ansible-python38 SUCCESS in 8m 31s (non-voting)
✔️ ansible-test-sanity-aws-ansible-2.12-python38 SUCCESS in 8m 52s
✔️ ansible-test-sanity-aws-ansible-2.13-python38 SUCCESS in 8m 41s
✔️ ansible-test-sanity-aws-ansible-2.14 SUCCESS in 8m 44s
ansible-test-units-amazon-aws-python36 FAILURE in 10m 28s
ansible-test-units-amazon-aws-python38 FAILURE in 8m 44s
ansible-test-units-amazon-aws-python39 FAILURE in 9m 30s
ansible-test-units-amazon-aws-python310 FAILURE in 11m 06s
cloud-tox-py3 FAILURE in 5m 44s
ansible-test-changelog FAILURE in 2m 22s
✔️ ansible-test-splitter SUCCESS in 2m 39s
✔️ integration-amazon.aws-1 SUCCESS in 11m 41s
integration-amazon.aws-2 TIMED_OUT in 1h 00m 41s
integration-amazon.aws-3 FAILURE in 16m 52s
integration-amazon.aws-4 FAILURE in 23m 55s
integration-amazon.aws-5 FAILURE in 19m 57s
integration-amazon.aws-6 FAILURE in 7m 19s
integration-amazon.aws-7 FAILURE in 8m 52s
integration-amazon.aws-8 FAILURE in 18m 00s
integration-amazon.aws-9 FAILURE in 5m 35s
integration-amazon.aws-10 FAILURE in 19m 53s
integration-amazon.aws-11 FAILURE in 7m 02s
integration-amazon.aws-12 FAILURE in 24m 08s
✔️ integration-amazon.aws-13 SUCCESS in 39m 28s
integration-amazon.aws-14 FAILURE in 32m 36s
✔️ integration-amazon.aws-15 SUCCESS in 41m 55s
✔️ integration-amazon.aws-16 SUCCESS in 36m 43s
integration-amazon.aws-17 FAILURE in 29m 42s
⚠️ integration-amazon.aws-18 SKIPPED
⚠️ integration-amazon.aws-19 SKIPPED
⚠️ integration-amazon.aws-20 SKIPPED
⚠️ integration-amazon.aws-21 SKIPPED
⚠️ integration-amazon.aws-22 SKIPPED
integration-community.aws-1 FAILURE in 6m 18s
✔️ integration-community.aws-2 SUCCESS in 16m 30s
⚠️ 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 added a commit to tremble/amazon.aws that referenced this pull request Jan 11, 2023
tremble added a commit to tremble/amazon.aws that referenced this pull request Jan 11, 2023
tremble added a commit to tremble/amazon.aws that referenced this pull request Jan 11, 2023
@tremble
Copy link
Contributor

tremble commented Feb 21, 2023

closing for now, probably get sporadically re-opened.

@tremble tremble closed this Feb 21, 2023
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Sep 18, 2023
…urge_tags default is True (ansible-collections#1183)

Tagging - remove default empty dict where purge_tags default is True

Depends-On: ansible-collections#844
SUMMARY

Move modules over to the new tagging fragment
Update modules to remove default tags of {} and use None instead, so that purging tags only happens if someone explicitly passes the tags parameter

ISSUE TYPE

Docs Pull Request
Feature Pull Request

COMPONENT NAME
plugins/modules/ec2_transit_gateway.py
plugins/modules/efs.py
plugins/modules/eks_fargate_profile.py
plugins/modules/elb_target_group.py
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Sep 18, 2023
…urge_tags default is True (ansible-collections#1183)

Tagging - remove default empty dict where purge_tags default is True

Depends-On: ansible-collections#844
SUMMARY

Move modules over to the new tagging fragment
Update modules to remove default tags of {} and use None instead, so that purging tags only happens if someone explicitly passes the tags parameter

ISSUE TYPE

Docs Pull Request
Feature Pull Request

COMPONENT NAME
plugins/modules/ec2_transit_gateway.py
plugins/modules/efs.py
plugins/modules/eks_fargate_profile.py
plugins/modules/elb_target_group.py
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Oct 24, 2023
…urge_tags default is True (ansible-collections#1183)

Tagging - remove default empty dict where purge_tags default is True

Depends-On: ansible-collections#844
SUMMARY

Move modules over to the new tagging fragment
Update modules to remove default tags of {} and use None instead, so that purging tags only happens if someone explicitly passes the tags parameter

ISSUE TYPE

Docs Pull Request
Feature Pull Request

COMPONENT NAME
plugins/modules/ec2_transit_gateway.py
plugins/modules/efs.py
plugins/modules/eks_fargate_profile.py
plugins/modules/elb_target_group.py
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>
mandar242 pushed a commit to mandar242/amazon.aws that referenced this pull request Oct 23, 2024
…urge_tags default is True (ansible-collections#1183)

Tagging - remove default empty dict where purge_tags default is True

Depends-On: ansible-collections#844
SUMMARY

Move modules over to the new tagging fragment
Update modules to remove default tags of {} and use None instead, so that purging tags only happens if someone explicitly passes the tags parameter

ISSUE TYPE

Docs Pull Request
Feature Pull Request

COMPONENT NAME
plugins/modules/ec2_transit_gateway.py
plugins/modules/efs.py
plugins/modules/eks_fargate_profile.py
plugins/modules/elb_target_group.py
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@7d98adc
mandar242 pushed a commit to mandar242/amazon.aws that referenced this pull request Oct 23, 2024
…urge_tags default is True (ansible-collections#1183)

Tagging - remove default empty dict where purge_tags default is True

Depends-On: ansible-collections#844
SUMMARY

Move modules over to the new tagging fragment
Update modules to remove default tags of {} and use None instead, so that purging tags only happens if someone explicitly passes the tags parameter

ISSUE TYPE

Docs Pull Request
Feature Pull Request

COMPONENT NAME
plugins/modules/ec2_transit_gateway.py
plugins/modules/efs.py
plugins/modules/eks_fargate_profile.py
plugins/modules/elb_target_group.py
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@7d98adc
mandar242 pushed a commit to mandar242/amazon.aws that referenced this pull request Oct 23, 2024
…urge_tags default is True (ansible-collections#1183)

Tagging - remove default empty dict where purge_tags default is True

Depends-On: ansible-collections#844
SUMMARY

Move modules over to the new tagging fragment
Update modules to remove default tags of {} and use None instead, so that purging tags only happens if someone explicitly passes the tags parameter

ISSUE TYPE

Docs Pull Request
Feature Pull Request

COMPONENT NAME
plugins/modules/ec2_transit_gateway.py
plugins/modules/efs.py
plugins/modules/eks_fargate_profile.py
plugins/modules/elb_target_group.py
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@7d98adc
mandar242 pushed a commit to mandar242/amazon.aws that referenced this pull request Oct 23, 2024
…urge_tags default is True (ansible-collections#1183)

Tagging - remove default empty dict where purge_tags default is True

Depends-On: ansible-collections#844
SUMMARY

Move modules over to the new tagging fragment
Update modules to remove default tags of {} and use None instead, so that purging tags only happens if someone explicitly passes the tags parameter

ISSUE TYPE

Docs Pull Request
Feature Pull Request

COMPONENT NAME
plugins/modules/ec2_transit_gateway.py
plugins/modules/efs.py
plugins/modules/eks_fargate_profile.py
plugins/modules/elb_target_group.py
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@7d98adc
mandar242 pushed a commit to mandar242/amazon.aws that referenced this pull request Oct 23, 2024
…urge_tags default is True (ansible-collections#1183)

Tagging - remove default empty dict where purge_tags default is True

Depends-On: ansible-collections#844
SUMMARY

Move modules over to the new tagging fragment
Update modules to remove default tags of {} and use None instead, so that purging tags only happens if someone explicitly passes the tags parameter

ISSUE TYPE

Docs Pull Request
Feature Pull Request

COMPONENT NAME
plugins/modules/ec2_transit_gateway.py
plugins/modules/efs.py
plugins/modules/eks_fargate_profile.py
plugins/modules/elb_target_group.py
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@7d98adc
mandar242 pushed a commit to mandar242/amazon.aws that referenced this pull request Oct 23, 2024
…urge_tags default is True (ansible-collections#1183)

Tagging - remove default empty dict where purge_tags default is True

Depends-On: ansible-collections#844
SUMMARY

Move modules over to the new tagging fragment
Update modules to remove default tags of {} and use None instead, so that purging tags only happens if someone explicitly passes the tags parameter

ISSUE TYPE

Docs Pull Request
Feature Pull Request

COMPONENT NAME
plugins/modules/ec2_transit_gateway.py
plugins/modules/efs.py
plugins/modules/eks_fargate_profile.py
plugins/modules/elb_target_group.py
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@7d98adc
mandar242 pushed a commit to mandar242/amazon.aws that referenced this pull request Oct 24, 2024
…urge_tags default is True (ansible-collections#1183)

Tagging - remove default empty dict where purge_tags default is True

Depends-On: ansible-collections#844
SUMMARY

Move modules over to the new tagging fragment
Update modules to remove default tags of {} and use None instead, so that purging tags only happens if someone explicitly passes the tags parameter

ISSUE TYPE

Docs Pull Request
Feature Pull Request

COMPONENT NAME
plugins/modules/ec2_transit_gateway.py
plugins/modules/efs.py
plugins/modules/eks_fargate_profile.py
plugins/modules/elb_target_group.py
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@7d98adc
mandar242 pushed a commit to mandar242/amazon.aws that referenced this pull request Oct 24, 2024
…urge_tags default is True (ansible-collections#1183)

Tagging - remove default empty dict where purge_tags default is True

Depends-On: ansible-collections#844
SUMMARY

Move modules over to the new tagging fragment
Update modules to remove default tags of {} and use None instead, so that purging tags only happens if someone explicitly passes the tags parameter

ISSUE TYPE

Docs Pull Request
Feature Pull Request

COMPONENT NAME
plugins/modules/ec2_transit_gateway.py
plugins/modules/efs.py
plugins/modules/eks_fargate_profile.py
plugins/modules/elb_target_group.py
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@7d98adc
mandar242 pushed a commit to mandar242/amazon.aws that referenced this pull request Oct 24, 2024
…urge_tags default is True (ansible-collections#1183)

Tagging - remove default empty dict where purge_tags default is True

Depends-On: ansible-collections#844
SUMMARY

Move modules over to the new tagging fragment
Update modules to remove default tags of {} and use None instead, so that purging tags only happens if someone explicitly passes the tags parameter

ISSUE TYPE

Docs Pull Request
Feature Pull Request

COMPONENT NAME
plugins/modules/ec2_transit_gateway.py
plugins/modules/efs.py
plugins/modules/eks_fargate_profile.py
plugins/modules/elb_target_group.py
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@7d98adc
mandar242 pushed a commit to mandar242/amazon.aws that referenced this pull request Oct 24, 2024
…urge_tags default is True (ansible-collections#1183)

Tagging - remove default empty dict where purge_tags default is True

Depends-On: ansible-collections#844
SUMMARY

Move modules over to the new tagging fragment
Update modules to remove default tags of {} and use None instead, so that purging tags only happens if someone explicitly passes the tags parameter

ISSUE TYPE

Docs Pull Request
Feature Pull Request

COMPONENT NAME
plugins/modules/ec2_transit_gateway.py
plugins/modules/efs.py
plugins/modules/eks_fargate_profile.py
plugins/modules/elb_target_group.py
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@7d98adc
mandar242 pushed a commit to mandar242/amazon.aws that referenced this pull request Oct 24, 2024
…urge_tags default is True (ansible-collections#1183)

Tagging - remove default empty dict where purge_tags default is True

Depends-On: ansible-collections#844
SUMMARY

Move modules over to the new tagging fragment
Update modules to remove default tags of {} and use None instead, so that purging tags only happens if someone explicitly passes the tags parameter

ISSUE TYPE

Docs Pull Request
Feature Pull Request

COMPONENT NAME
plugins/modules/ec2_transit_gateway.py
plugins/modules/efs.py
plugins/modules/eks_fargate_profile.py
plugins/modules/elb_target_group.py
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@7d98adc
alinabuzachis pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Oct 24, 2024
…urge_tags default is True (ansible-collections#1183)

Tagging - remove default empty dict where purge_tags default is True

Depends-On: ansible-collections#844
SUMMARY

Move modules over to the new tagging fragment
Update modules to remove default tags of {} and use None instead, so that purging tags only happens if someone explicitly passes the tags parameter

ISSUE TYPE

Docs Pull Request
Feature Pull Request

COMPONENT NAME
plugins/modules/ec2_transit_gateway.py
plugins/modules/efs.py
plugins/modules/eks_fargate_profile.py
plugins/modules/elb_target_group.py
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@7d98adc
mandar242 pushed a commit to mandar242/amazon.aws that referenced this pull request Oct 24, 2024
…urge_tags default is True (ansible-collections#1183)

Tagging - remove default empty dict where purge_tags default is True

Depends-On: ansible-collections#844
SUMMARY

Move modules over to the new tagging fragment
Update modules to remove default tags of {} and use None instead, so that purging tags only happens if someone explicitly passes the tags parameter

ISSUE TYPE

Docs Pull Request
Feature Pull Request

COMPONENT NAME
plugins/modules/ec2_transit_gateway.py
plugins/modules/efs.py
plugins/modules/eks_fargate_profile.py
plugins/modules/elb_target_group.py
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@7d98adc
mandar242 pushed a commit to mandar242/amazon.aws that referenced this pull request Oct 24, 2024
…urge_tags default is True (ansible-collections#1183)

Tagging - remove default empty dict where purge_tags default is True

Depends-On: ansible-collections#844
SUMMARY

Move modules over to the new tagging fragment
Update modules to remove default tags of {} and use None instead, so that purging tags only happens if someone explicitly passes the tags parameter

ISSUE TYPE

Docs Pull Request
Feature Pull Request

COMPONENT NAME
plugins/modules/ec2_transit_gateway.py
plugins/modules/efs.py
plugins/modules/eks_fargate_profile.py
plugins/modules/elb_target_group.py
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@7d98adc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module_utils module_utils needs_info This issue requires further information. Please answer any outstanding questions needs_template This issue/PR has an incomplete description. Please fill in the proposed template correctly plugins plugin (any type) small_patch Hopefully easy to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants