terraform/datamigration/hive/bq/variables.tf (29 lines of code) (raw):
/**
* Copyright 2021 Google LLC.
*
* This software is provided as-is, without warranty or representation for any use or purpose.
* Your use of it is subject to your agreement with Google.
*/
variable "project_id" {
type = string
description = "ID of Google Cloud project ID where resources are deployed"
}
variable "customer_name" {
type = string
description = "Name of the customer to append in all service names"
}
variable "logging_dataset" {
type = string
description = "BigQuery Dataset ID for DVT Reporting"
default = "dmt_logs"
}
variable "hive_data_load_logs" {
type = string
description = "BigQuery Table Name for tracking"
default = "hive_bqload_audit"
}
# Unless this field is set to false, a terraform destroy or terraform apply
# that would delete the BQ tables will fail.
variable "bq_tables_deletion_protection" {
type = bool
description = "Whether or not to allow Terraform to destroy all BQ tables."
default = true
}