-
-
Notifications
You must be signed in to change notification settings - Fork 998
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Google Cloud impersonate fixes (#2679)
* 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
- Loading branch information
Showing
5 changed files
with
94 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
terraform { | ||
backend "gcs" {} | ||
} | ||
|
||
output "value" { | ||
value = "42" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
remote_state { | ||
backend = "gcs" | ||
|
||
config = { | ||
project = "__FILL_IN_PROJECT__" | ||
location = "__FILL_IN_LOCATION__" | ||
bucket = "__FILL_IN_BUCKET_NAME__" | ||
impersonate_service_account = "__FILL_IN_GCP_EMAIL__" | ||
prefix = "terraform.tfstate" | ||
|
||
gcs_bucket_labels = { | ||
owner = "terragrunt_test" | ||
name = "terraform_state_storage" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters