Open chchaffin opened 2 months ago
In v5.34.0 this was released to the GA and Beta versions of the provider:
bigtable: added automated_backup_configuration field to google_bigtable_table resource
It looks like the field wasn't documented. I'll mark this issue as a documentation issue.
You should be able to use the released fields with v5.34.0 and above despite them not being documented. For now you can refer to this code for descriptions of those fields:
resource "google_bigtable_table" "table" {
name = "my-table"
instance_name = google_bigtable_instance.instance.name
automated_backup_policy {
retention_period = "72h0m0s"
frequency = "24h0m0s"
}
}
Community Note
Description
A related issue was marked as closed, but we still don't have a way to set scheduled backups using terraform. As @SarahFrench pointed out a month ago, BigTable API now supports scheduled backups. However, I'm not sure why this issue, https://github.com/hashicorp/terraform-provider-google/issues/12191#issuecomment-2154796124, was closed.
New or Affected Resource(s)
Potential Terraform Configuration
References
https://github.com/hashicorp/terraform-provider-google/issues/12191
b/352830525