Skip to content

Instantly share code, notes, and snippets.

@tuanchris
Created August 15, 2020 09:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tuanchris/3e8afb52b17d0727e88f284ebb880d46 to your computer and use it in GitHub Desktop.
Save tuanchris/3e8afb52b17d0727e88f284ebb880d46 to your computer and use it in GitHub Desktop.
cloud-iac-6
# GCS resources
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