Add deletion_protection to bigquery module

This commit is contained in:
Julio Castillo
2021-06-01 18:36:53 +02:00
parent cd6e1c254d
commit faa3a1cfe9
4 changed files with 83 additions and 53 deletions

View File

@@ -125,7 +125,8 @@ variable "tables" {
type = string
})
})
schema = string
schema = string
deletion_protection = bool
}))
default = {}
}
@@ -133,10 +134,11 @@ variable "tables" {
variable "views" {
description = "View definitions."
type = map(object({
friendly_name = string
labels = map(string)
query = string
use_legacy_sql = bool
friendly_name = string
labels = map(string)
query = string
use_legacy_sql = bool
deletion_protection = bool
}))
default = {}
}