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

[PR #1331/ed4165d6 backport][stable-4] ec2_vpc_vgw_info - update to not throw an error when run in check_mode #1336

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Jul 9, 2022

This is a backport of PR #1331 as merged into main (ed4165d).

SUMMARY

fixes: #137

ec2_vpc_vgw_info currently throws an error when run in check_mode (it's using "DryRun") this unexpected and undocumented behaviour, and is the same practical effect as not supporting check_mode at all.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

plugins/modules/ec2_vpc_vgw_info.py

ADDITIONAL INFORMATION

#1331)

ec2_vpc_vgw_info - update to not throw an error when run in check_mode

SUMMARY
fixes: #137
ec2_vpc_vgw_info currently throws an error when run in check_mode (it's using "DryRun") this unexpected and undocumented behaviour, and is the same practical effect as not supporting check_mode at all.
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
plugins/modules/ec2_vpc_vgw_info.py
ADDITIONAL INFORMATION

Reviewed-by: Joseph Torcasso <None>
(cherry picked from commit ed4165d)
@ansibullbot
Copy link

@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 Jul 9, 2022
@github-actions
Copy link

github-actions bot commented Jul 9, 2022

Docs Build 📝

Thank you for contribution!✨

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

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

✔️ ansible-galaxy-importer SUCCESS in 5m 55s
✔️ build-ansible-collection SUCCESS in 5m 33s
✔️ ansible-test-sanity-docker-devel SUCCESS in 10m 52s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 10m 47s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 12m 19s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 10m 33s
✔️ ansible-test-units-community-aws-python38 SUCCESS in 7m 05s
✔️ ansible-test-units-community-aws-python39 SUCCESS in 8m 14s
✔️ ansible-test-splitter SUCCESS in 3m 05s
✔️ integration-community.aws-1 SUCCESS in 7m 13s
⚠️ 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 mergeit Merge the PR (SoftwareFactory) label Jul 10, 2022
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded (gate pipeline).

✔️ ansible-galaxy-importer SUCCESS in 4m 11s
✔️ build-ansible-collection SUCCESS in 5m 15s
✔️ ansible-test-sanity-docker-devel SUCCESS in 10m 57s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 10m 33s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 10m 31s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 11m 37s
✔️ ansible-test-units-community-aws-python38 SUCCESS in 7m 08s
✔️ ansible-test-units-community-aws-python39 SUCCESS in 8m 19s
✔️ ansible-test-splitter SUCCESS in 2m 37s
✔️ integration-community.aws-1 SUCCESS in 10m 03s
⚠️ 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 7b447cf into stable-4 Jul 10, 2022
@softwarefactory-project-zuul softwarefactory-project-zuul bot deleted the patchback/backports/stable-4/ed4165d6e34c5c33c751c8b138f24a058d1c2b6e/pr-1331 branch July 10, 2022 07:26
abikouo pushed a commit to abikouo/community.aws that referenced this pull request Oct 24, 2023
…ble-collections#1336)

lambda_info and lambda_alias - avoid manipulating module.params

SUMMARY
Directly manipulating module.params results in the Ansible output incorrectly representing what was passed to the module, as such we shouldn't be doing this.

Refactors lambda_alias to avoid passing around "module" entirely
Updates lamba_info to avoid updating module.params

ISSUE TYPE

Feature Pull Request

COMPONENT NAME
lambda_info
lambda_alias
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>
Reviewed-by: Mark Chappell <None>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

2 participants