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

Google Cloud impersonate fixes #2679

Merged
merged 19 commits into from
Aug 21, 2023
Merged

Google Cloud impersonate fixes #2679

merged 19 commits into from
Aug 21, 2023

Conversation

denis256
Copy link
Member

@denis256 denis256 commented Aug 20, 2023

Description

Included changes:

  • Migrated changes from stale PRs to using service account impersonation
  • Added basic integration test to verify that impersonated service account is used to create storage bucket

Fixes #1997.
Fixes #2477.

TODOs

Read the Gruntwork contribution guidelines.

  • Update the docs.
  • Run the relevant tests successfully, including pre-commit checks.
  • Ensure any 3rd party code adheres with our license policy or delete this line if its not applicable.
  • Include release notes. If this PR is backward incompatible, include a migration guide.

Release Notes (draft)

Added / Removed / Updated [X].

Addressed the issue related to GCP impersonation during state bucket creation.

Migration Guide

N/A

@denis256 denis256 marked this pull request as ready for review August 20, 2023 22:36
@levkohimins levkohimins self-requested a review August 21, 2023 16:40
Copy link
Contributor

@levkohimins levkohimins left a comment

Choose a reason for hiding this comment

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

LGTM!

@denis256 denis256 merged commit c4a76a1 into master Aug 21, 2023
@denis256 denis256 deleted the bug/gcs-impersonation-1997 branch August 21, 2023 18:53
hugorut pushed a commit to infracost/terragrunt that referenced this pull request Oct 10, 2023
* Migration of impersonate changes

* Add test for bucket creation

* Add replacement of email

* acl item

* add logging of acl

* Testing gcp fix

* object fetching test

* Testing iam printing

* testing ProjectTeam

* Notifications

* add log printing

* Add test output value

* Add function to read objects metadata

* acl email

* Add check for gcp acl

* Tests cleanup

* Tests cleanup

* Removed debug prints

* Added loop termination
hugorut pushed a commit to infracost/terragrunt that referenced this pull request Oct 10, 2023
* Migration of impersonate changes

* Add test for bucket creation

* Add replacement of email

* acl item

* add logging of acl

* Testing gcp fix

* object fetching test

* Testing iam printing

* testing ProjectTeam

* Notifications

* add log printing

* Add test output value

* Add function to read objects metadata

* acl email

* Add check for gcp acl

* Tests cleanup

* Tests cleanup

* Removed debug prints

* Added loop termination
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants