diff --git a/modules/bigquery-dataset/variables.tf b/modules/bigquery-dataset/variables.tf index 5deb2d24c7..d546365c43 100644 --- a/modules/bigquery-dataset/variables.tf +++ b/modules/bigquery-dataset/variables.tf @@ -109,7 +109,7 @@ variable "labels" { variable "location" { description = "Dataset location." type = string - default = "EU" + default = null } variable "materialized_views" { diff --git a/modules/container-registry/README.md b/modules/container-registry/README.md index a5748e2aeb..4ad5b01a15 100644 --- a/modules/container-registry/README.md +++ b/modules/container-registry/README.md @@ -8,7 +8,7 @@ This module simplifies the creation of GCS buckets used by Google Container Regi module "container_registry" { source = "./fabric/modules/container-registry" project_id = "myproject" - location = "EU" + location = var.region iam = { "roles/storage.admin" = ["group:cicd@example.com"] } diff --git a/modules/container-registry/variables.tf b/modules/container-registry/variables.tf index 9a5709e967..8855bae5d9 100644 --- a/modules/container-registry/variables.tf +++ b/modules/container-registry/variables.tf @@ -23,7 +23,7 @@ variable "iam" { variable "location" { description = "Registry location. Can be US, EU, ASIA or empty." type = string - default = "" + default = null } variable "project_id" { diff --git a/modules/data-catalog-policy-tag/variables.tf b/modules/data-catalog-policy-tag/variables.tf index af06cd30b7..4c340879f8 100644 --- a/modules/data-catalog-policy-tag/variables.tf +++ b/modules/data-catalog-policy-tag/variables.tf @@ -29,7 +29,7 @@ variable "description" { variable "location" { description = "Data Catalog Taxonomy location." type = string - default = "eu" + default = null } variable "name" { diff --git a/modules/gcs/README.md b/modules/gcs/README.md index 539d82ce6a..0df4b0e39c 100644 --- a/modules/gcs/README.md +++ b/modules/gcs/README.md @@ -29,7 +29,7 @@ module "kms" { source = "./fabric/modules/kms" project_id = var.project_id keyring = { - location = "europe" # location of the KMS must match location of the bucket + location = "var.location" # location of the KMS must match location of the bucket name = "test" } keys = { diff --git a/modules/gcs/variables.tf b/modules/gcs/variables.tf index de8a6abd83..cd0d9e6cbe 100644 --- a/modules/gcs/variables.tf +++ b/modules/gcs/variables.tf @@ -149,7 +149,7 @@ variable "lifecycle_rules" { variable "location" { description = "Bucket location." type = string - default = "EU" + default = null } variable "logging_config" {