Fix diagram and KMS bq table configuration

This commit is contained in:
Lorenzo Caggioni 2022-01-14 17:30:33 +01:00
parent 1ed4491f23
commit a67cfff3af
2 changed files with 5 additions and 0 deletions

View File

@ -62,6 +62,11 @@ module "bigquery-dataset" {
} }
schema = file("${path.module}/data-demo/person.json") schema = file("${path.module}/data-demo/person.json")
deletion_protection = false deletion_protection = false
options = {
clustering = null
encryption_key = var.cmek_encryption ? try(module.kms[0].keys.key-bq.id, null) : null
expiration_time = null
}
} }
} }
encryption_key = var.cmek_encryption ? try(module.kms[0].keys.key-bq.id, null) : null encryption_key = var.cmek_encryption ? try(module.kms[0].keys.key-bq.id, null) : null

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 39 KiB