Closed bkamin29 closed 4 years ago
Thank you for this PR @benesis002. LGTM, merging.
Hi, with the default value "", I have the error : "Error: Incorrect attribute value type
on .terraform/modules/slo-pipeline/modules/slo-pipeline/main.tf line 55, in resource "google_bigquery_dataset" "main": 55: default_table_expiration_ms = var.dataset_default_table_expiration_ms |---------------- | var.dataset_default_table_expiration_ms is ""
Inappropriate value for attribute "default_table_expiration_ms": a number is required." Was it working for you ? did something changed then ? I am forced to set a value :'( 👎
Hello,
on the module
slo-pipeline
inmain.tf
we can find an error in the TF resourcegoogle_bigquery_dataset.main
on the attributedefault_table_expiration_ms
. The static value choose is bad because525600000ms
is equal to 6 days only and not 365 days / 1 year ..I have added a new variable dataset_default_table_expiration_ms with a default to
never
. Expiration table on a Dataset is not a sliding windows, so after 1 year all datas will be deleted, not only the datas older than one year..Benjamin