Add Cloud KMS support to GCS module (#87)

* Add support to Cloud KMS

* Fixes

* Fix tests

* Fix tests

* - change variable name to be consistent with BQ module
 - remove output, not needed
 - change string default value to null

* use locals to pre-populate kms key variable for all names

* rename kms variable, fix prefix check in locals

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
This commit is contained in:
lcaggio
2020-06-05 21:59:34 +02:00
committed by GitHub
parent 24e9e0c280
commit 1b450fe444
4 changed files with 53 additions and 8 deletions

View File

@@ -41,7 +41,7 @@ variable "labels" {
variable "prefix" {
type = string
default = ""
default = null
}
variable "storage_class" {