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

iam_role - add assume_role_policy_document_raw #1692

Merged

Conversation

tremble
Copy link
Contributor

@tremble tremble commented Feb 2, 2023

SUMMARY

fixes: #551

assume_role_policy_document is an IAM policy document, and as such we shouldn't be modifying it. Running camel / snake conversion against the document breaks it. Adds assume_role_policy_document_raw and deprecates the current snake_case behaviour.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

iam_role
iam_role_info

ADDITIONAL INFORMATION

Follows up on #1054 / #1068

@tremble tremble marked this pull request as ready for review February 2, 2023 11:49
@ansibullbot
Copy link

@ansibullbot ansibullbot added community_review feature This issue/PR relates to a feature request integration tests/integration module module needs_triage plugins plugin (any type) tests tests labels Feb 2, 2023
@github-actions
Copy link

github-actions bot commented Feb 2, 2023

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

This comment was marked as resolved.

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

✔️ ansible-galaxy-importer SUCCESS in 3m 55s
✔️ build-ansible-collection SUCCESS in 6m 21s
✔️ ansible-test-sanity-docker-devel SUCCESS in 13m 57s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 9m 44s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 9m 53s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 9m 25s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 9m 21s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 5m 51s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 6m 02s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 5m 40s
✔️ ansible-test-units-amazon-aws-python310 SUCCESS in 6m 20s
✔️ ansible-test-changelog SUCCESS in 2m 48s
✔️ ansible-test-splitter SUCCESS in 3m 10s
✔️ integration-community.aws-1 SUCCESS in 6m 02s
⚠️ 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 mergeit Merge the PR (SoftwareFactory) backport-5 PR should be backported to the stable-5 branch labels Feb 2, 2023
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded (gate pipeline).

✔️ ansible-galaxy-importer SUCCESS in 10m 33s
✔️ build-ansible-collection SUCCESS in 5m 27s
✔️ ansible-test-sanity-docker-devel SUCCESS in 9m 33s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 8m 49s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 9m 59s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 8m 52s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 8m 52s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 5m 48s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 5m 44s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 5m 52s
✔️ ansible-test-units-amazon-aws-python310 SUCCESS in 5m 51s
✔️ ansible-test-changelog SUCCESS in 2m 19s
✔️ ansible-test-splitter SUCCESS in 2m 40s
✔️ integration-community.aws-1 SUCCESS in 6m 35s
⚠️ 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 5bf51c0 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/5bf51c0d05376434bb945c43589fd6e4dcd89bc4/pr-1692

Backported as #1694

🤖 @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
iam_role - add assume_role_policy_document_raw

SUMMARY
fixes: #551
assume_role_policy_document is an IAM policy document, and as such we shouldn't be modifying it.  Running camel / snake conversion against the document breaks it.  Adds assume_role_policy_document_raw and deprecates the current snake_case behaviour.
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
iam_role
iam_role_info
ADDITIONAL INFORMATION
Follows up on #1054 / #1068

Reviewed-by: Alina Buzachis <None>
(cherry picked from commit 5bf51c0)
softwarefactory-project-zuul bot pushed a commit that referenced this pull request Feb 2, 2023
[PR #1692/5bf51c0d backport][stable-5] iam_role - add assume_role_policy_document_raw

This is a backport of PR #1692 as merged into main (5bf51c0).
SUMMARY
fixes: #551
assume_role_policy_document is an IAM policy document, and as such we shouldn't be modifying it.  Running camel / snake conversion against the document breaks it.  Adds assume_role_policy_document_raw and deprecates the current snake_case behaviour.
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
iam_role
iam_role_info
ADDITIONAL INFORMATION
Follows up on #1054 / #1068

Reviewed-by: Mark Chappell <None>
@tremble tremble deleted the issue/551 branch February 15, 2023 09:24
abikouo pushed a commit to abikouo/community.aws that referenced this pull request Oct 24, 2023
)

iam_role - add assume_role_policy_document_raw

SUMMARY
fixes: ansible-collections#551
assume_role_policy_document is an IAM policy document, and as such we shouldn't be modifying it.  Running camel / snake conversion against the document breaks it.  Adds assume_role_policy_document_raw and deprecates the current snake_case behaviour.
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
iam_role
iam_role_info
ADDITIONAL INFORMATION
Follows up on ansible-collections#1054 / ansible-collections#1068

Reviewed-by: Alina Buzachis <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections@5bf51c0
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 needs_triage plugins plugin (any type) tests tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

community.aws.iam_role_info: preserve case when returning role trust relationship
3 participants