Add deletion_protection_enabled attribute to cloudsql-instance to enable the GCP native deletion protection flag (#1696)

This commit is contained in:
Jason Steenblik
2023-09-20 15:09:38 +02:00
committed by GitHub
parent 67f5cdc2a5
commit 79b0dc9751
6 changed files with 42 additions and 33 deletions

View File

@@ -85,6 +85,12 @@ variable "deletion_protection" {
default = false
}
variable "deletion_protection_enabled" {
description = "Set Google's deletion protection attribute which applies across all surfaces (UI, API, & Terraform)."
type = bool
default = false
}
variable "disk_size" {
description = "Disk size in GB. Set to null to enable autoresize."
type = number