Randomize temp storage bucket.
This commit is contained in:
parent
ed106036dd
commit
09c7cc8d03
@ -99,9 +99,13 @@ resource "google_project_service" "dataflow" {
|
||||
disable_dependent_services = true
|
||||
}
|
||||
|
||||
resource "random_id" "temp_storage" {
|
||||
byte_length = 4
|
||||
}
|
||||
|
||||
resource "google_storage_bucket" "temp_storage" {
|
||||
project = var.project
|
||||
name = "${var.project}-bigquery-etl"
|
||||
name = "${var.project}-etl-temp-${random_id.temp_storage.hex}"
|
||||
force_destroy = true
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user