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

Allow to disable encryption on cloudtrail #1384

Conversation

alinabuzachis
Copy link
Contributor

SUMMARY

Allow to disable encryption on cloudtrail.

Note: Tests are not run in CI because of missing policy.

ISSUE TYPE
  • Bugfix Pull Request
  • Docs Pull Request
  • Feature Pull Request
  • New Module Pull Request
COMPONENT NAME
ADDITIONAL INFORMATION

@github-actions
Copy link

github-actions bot commented Feb 21, 2023

Docs Build 📝

Thank you for contribution!✨

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

@alinabuzachis alinabuzachis force-pushed the cloudtrail_disable_encryption branch 2 times, most recently from 09faa5f to 949e615 Compare February 21, 2023 17:25
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/7121d8485de4485cb77dff2d01d731cd

✔️ ansible-galaxy-importer SUCCESS in 4m 23s
✔️ build-ansible-collection SUCCESS in 12m 36s
✔️ ansible-test-sanity-aws-ansible-python38 SUCCESS in 10m 24s (non-voting)
✔️ ansible-test-sanity-aws-ansible-2.12-python38 SUCCESS in 10m 23s
✔️ ansible-test-sanity-aws-ansible-2.13-python38 SUCCESS in 8m 17s
✔️ ansible-test-sanity-aws-ansible-2.14 SUCCESS in 10m 20s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 8m 26s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 9m 53s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 9m 11s
✔️ ansible-test-units-amazon-aws-python310 SUCCESS in 10m 00s
✔️ cloud-tox-py3 SUCCESS in 8m 36s
✔️ ansible-test-changelog SUCCESS in 4m 13s
✔️ ansible-test-splitter SUCCESS in 4m 37s
✔️ integration-amazon.aws-1 SUCCESS in 7m 18s
Skipped 43 jobs

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/45a0c6d296de45768bad47ae023ae04e

✔️ ansible-galaxy-importer SUCCESS in 4m 56s
✔️ build-ansible-collection SUCCESS in 12m 30s
✔️ ansible-test-sanity-aws-ansible-python38 SUCCESS in 12m 03s (non-voting)
✔️ ansible-test-sanity-aws-ansible-2.12-python38 SUCCESS in 11m 29s
✔️ ansible-test-sanity-aws-ansible-2.13-python38 SUCCESS in 12m 07s
✔️ ansible-test-sanity-aws-ansible-2.14 SUCCESS in 11m 55s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 11m 40s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 11m 43s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 11m 27s
✔️ ansible-test-units-amazon-aws-python310 SUCCESS in 12m 03s
✔️ cloud-tox-py3 SUCCESS in 7m 15s
✔️ ansible-test-changelog SUCCESS in 4m 07s
✔️ ansible-test-splitter SUCCESS in 4m 47s
✔️ integration-amazon.aws-1 SUCCESS in 7m 20s
Skipped 43 jobs

alinabuzachis and others added 3 commits February 23, 2023 08:55
Signed-off-by: Alina Buzachis <abuzachis@redhat.com>
Signed-off-by: Alina Buzachis <abuzachis@redhat.com>
@tremble tremble force-pushed the cloudtrail_disable_encryption branch from 7b17fc3 to 7b89b70 Compare February 23, 2023 07:58
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/0df2ca45981c467381c5d38947a73010

✔️ ansible-galaxy-importer SUCCESS in 4m 36s
✔️ build-ansible-collection SUCCESS in 12m 14s
✔️ ansible-test-sanity-aws-ansible-python38 SUCCESS in 15m 48s (non-voting)
✔️ ansible-test-sanity-aws-ansible-2.12-python38 SUCCESS in 10m 54s
✔️ ansible-test-sanity-aws-ansible-2.13-python38 SUCCESS in 10m 45s
✔️ ansible-test-sanity-aws-ansible-2.14 SUCCESS in 10m 39s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 16m 52s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 9m 42s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 9m 38s
✔️ ansible-test-units-amazon-aws-python310 SUCCESS in 10m 38s
✔️ cloud-tox-py3 SUCCESS in 7m 18s
✔️ ansible-test-changelog SUCCESS in 4m 18s
✔️ ansible-test-splitter SUCCESS in 4m 50s
✔️ integration-amazon.aws-1 SUCCESS in 6m 18s
✔️ integration-community.aws-1 SUCCESS in 7m 22s
Skipped 42 jobs

@tremble tremble added mergeit Merge the PR (SoftwareFactory) backport-5 PR should be backported to the stable-5 branch labels Feb 23, 2023
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded (gate pipeline).
https://ansible.softwarefactory-project.io/zuul/buildset/37ac16b1cc8e41d7afdb39a83edcd7b5

✔️ ansible-galaxy-importer SUCCESS in 3m 53s
✔️ build-ansible-collection SUCCESS in 12m 28s
✔️ ansible-test-splitter SUCCESS in 4m 49s
✔️ integration-amazon.aws-1 SUCCESS in 8m 06s
Skipped 43 jobs

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit 200392e into ansible-collections:main Feb 23, 2023
@patchback
Copy link

patchback bot commented Feb 23, 2023

Backport to stable-5: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-5/200392e03f1402eee5ba714df5aa491f24b8a521/pr-1384

Backported as #1385

🤖 @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 23, 2023
Allow to disable encryption on cloudtrail

SUMMARY

Allow to disable encryption on cloudtrail.
Note: Tests are not run in CI because of missing policy.

ISSUE TYPE

Bugfix Pull Request
Docs Pull Request
Feature Pull Request
New Module Pull Request

COMPONENT NAME

ADDITIONAL INFORMATION

Reviewed-by: Mark Chappell
(cherry picked from commit 200392e)
softwarefactory-project-zuul bot pushed a commit that referenced this pull request Feb 23, 2023
[PR #1384/200392e0 backport][stable-5] Allow to disable encryption on cloudtrail

This is a backport of PR #1384 as merged into main (200392e).
SUMMARY

Allow to disable encryption on cloudtrail.
Note: Tests are not run in CI because of missing policy.

ISSUE TYPE


Bugfix Pull Request
Docs Pull Request
Feature Pull Request
New Module Pull Request

COMPONENT NAME

ADDITIONAL INFORMATION

Reviewed-by: Mark Chappell
reparepo pushed a commit to reparepo/amazon.aws that referenced this pull request Mar 17, 2023
…#1384)

route53_info - fix max_items when not paginating

SUMMARY
As reported in ansible-collections#1383, the route53_info module presently fails to run with a boto3 parameter validation error if run with particular combinations of parameters, specifically:

query: hosted_zone parameter with hosted_zone_method: list_by_name
query: reusable_delegation_set without specifying a delegation_set_id

I believe this is a regression introduced in ansible-collections#813
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
route53_info
ADDITIONAL INFORMATION
Some further information is described in the issue but tl;dr the prior PR converted all cases in the module where params['MaxItems'] was set to instead pass a params['PaginationConfig'], however this should only be done if a boto3 paginator is actually being used, and will fail (as noted above, due to parameter validation) if called with a regular boto3 client method.
Hence this PR switches back to directly setting MaxItems on the methods that do not use a paginator.

Reviewed-by: Mark Chappell <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@569fff4
reparepo pushed a commit to reparepo/amazon.aws that referenced this pull request Mar 17, 2023
route53_info - enable max_items tests

SUMMARY
Enables the tests from ansible-collections#1384
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
route53_info
ADDITIONAL INFORMATION

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@7427a0d
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Sep 18, 2023
…#1384)

route53_info - fix max_items when not paginating

SUMMARY
As reported in ansible-collections#1383, the route53_info module presently fails to run with a boto3 parameter validation error if run with particular combinations of parameters, specifically:

query: hosted_zone parameter with hosted_zone_method: list_by_name
query: reusable_delegation_set without specifying a delegation_set_id

I believe this is a regression introduced in ansible-collections#813
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
route53_info
ADDITIONAL INFORMATION
Some further information is described in the issue but tl;dr the prior PR converted all cases in the module where params['MaxItems'] was set to instead pass a params['PaginationConfig'], however this should only be done if a boto3 paginator is actually being used, and will fail (as noted above, due to parameter validation) if called with a regular boto3 client method.
Hence this PR switches back to directly setting MaxItems on the methods that do not use a paginator.

Reviewed-by: Mark Chappell <None>
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Sep 18, 2023
…#1384)

route53_info - fix max_items when not paginating

SUMMARY
As reported in ansible-collections#1383, the route53_info module presently fails to run with a boto3 parameter validation error if run with particular combinations of parameters, specifically:

query: hosted_zone parameter with hosted_zone_method: list_by_name
query: reusable_delegation_set without specifying a delegation_set_id

I believe this is a regression introduced in ansible-collections#813
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
route53_info
ADDITIONAL INFORMATION
Some further information is described in the issue but tl;dr the prior PR converted all cases in the module where params['MaxItems'] was set to instead pass a params['PaginationConfig'], however this should only be done if a boto3 paginator is actually being used, and will fail (as noted above, due to parameter validation) if called with a regular boto3 client method.
Hence this PR switches back to directly setting MaxItems on the methods that do not use a paginator.

Reviewed-by: Mark Chappell <None>
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Oct 24, 2023
…#1384)

route53_info - fix max_items when not paginating

SUMMARY
As reported in ansible-collections#1383, the route53_info module presently fails to run with a boto3 parameter validation error if run with particular combinations of parameters, specifically:

query: hosted_zone parameter with hosted_zone_method: list_by_name
query: reusable_delegation_set without specifying a delegation_set_id

I believe this is a regression introduced in ansible-collections#813
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
route53_info
ADDITIONAL INFORMATION
Some further information is described in the issue but tl;dr the prior PR converted all cases in the module where params['MaxItems'] was set to instead pass a params['PaginationConfig'], however this should only be done if a boto3 paginator is actually being used, and will fail (as noted above, due to parameter validation) if called with a regular boto3 client method.
Hence this PR switches back to directly setting MaxItems on the methods that do not use a paginator.

Reviewed-by: Mark Chappell <None>
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Oct 24, 2023
route53_info - enable max_items tests

SUMMARY
Enables the tests from ansible-collections#1384
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
route53_info
ADDITIONAL INFORMATION
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 mergeit Merge the PR (SoftwareFactory)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants