Created
August 15, 2020 06:10
-
-
Save tuanchris/e6256ea69c99b43df8787e4b3c411ea0 to your computer and use it in GitHub Desktop.
cloud-iac-2
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
resource "google_storage_bucket_acl" "gcs-data-lake-landing-acl" { | |
bucket = google_storage_bucket.gcs-data-lake-landing.name | |
role_entity = [ | |
"OWNER:${local.unique_id}-de@gmail.com", | |
"READER:${local.unique_id}-ds@gmail.com", | |
] | |
} | |
resource "google_storage_bucket_acl" "gcs-data-lake-sensitive-acl" { | |
bucket = google_storage_bucket.gcs-data-lake-sensitive.name | |
role_entity = [ | |
"OWNER:${local.unique_id}-de@gmail.com", | |
"READER:${local.unique_id}-ds@gmail.com", | |
] | |
} | |
resource "google_storage_bucket_acl" "gcs-data-lake-work-acl" { | |
bucket = google_storage_bucket.gcs-data-lake-work.name | |
role_entity = [ | |
"OWNER:${local.unique_id}-de@gmail.com", | |
"WRITER:${local.unique_id}-ds@gmail.com", | |
] | |
} | |
resource "google_storage_bucket_acl" "gcs-data-lake-backup-acl" { | |
bucket = google_storage_bucket.gcs-data-lake-backup.name | |
role_entity = [ | |
"OWNER:${local.unique_id}-de@gmail.com", | |
"READER:${local.unique_id}-ds@gmail.com", | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment