Skip to content

Instantly share code, notes, and snippets.

@tuanchris
Last active August 15, 2020 05:56
Show Gist options
  • Save tuanchris/4b97189ebcaf3108a8ce26fc30b7331d to your computer and use it in GitHub Desktop.
Save tuanchris/4b97189ebcaf3108a8ce26fc30b7331d to your computer and use it in GitHub Desktop.
cloud-iac-2
resource "google_storage_bucket" "gcs-data-lake-landing" {
name = "${google_project.data-lake.project_id}-landing"
project = google_project.data-lake.project_id
location = local.region
force_destroy = true
storage_class = "STANDARD"
}
resource "google_storage_bucket" "gcs-data-lake-sensitive" {
name = "${google_project.data-lake.project_id}-sensitive"
project = google_project.data-lake.project_id
location = local.region
force_destroy = true
storage_class = "STANDARD"
}
resource "google_storage_bucket" "gcs-data-lake-work" {
name = "${google_project.data-lake.project_id}-work"
project = google_project.data-lake.project_id
location = local.region
force_destroy = true
storage_class = "STANDARD"
}
resource "google_storage_bucket" "gcs-data-lake-backup" {
name = "${google_project.data-lake.project_id}-backup"
project = google_project.data-lake.project_id
location = local.region
force_destroy = true
storage_class = "STANDARD"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment