diff --git a/modules/gke-cluster-standard/README.md b/modules/gke-cluster-standard/README.md index 573912e4d6..25015b6e82 100644 --- a/modules/gke-cluster-standard/README.md +++ b/modules/gke-cluster-standard/README.md @@ -315,7 +315,7 @@ module "cluster-1" { | [name](variables.tf#L267) | Cluster name. | string | ✓ | | | [project_id](variables.tf#L293) | Cluster project id. | string | ✓ | | | [vpc_config](variables.tf#L316) | VPC-level configuration. | object({…}) | ✓ | | -| [backup_configs](variables.tf#L17) | Configuration for Backup for GKE. | object({…}) | | {} | +| [backup_configs](variables.tf#L17) | Configuration for Backup for GKE. | object({…}) | | {} | | [cluster_autoscaling](variables.tf#L41) | Enable and configure limits for Node Auto-Provisioning with Cluster Autoscaler. | object({…}) | | null | | [deletion_protection](variables.tf#L62) | Whether or not to allow Terraform to destroy the cluster. Unless this field is set to false in Terraform state, a terraform destroy or terraform apply that would delete the cluster will fail. | bool | | true | | [description](variables.tf#L69) | Cluster description. | string | | null | diff --git a/modules/gke-cluster-standard/variables.tf b/modules/gke-cluster-standard/variables.tf index 66465eb247..24bfc2d436 100644 --- a/modules/gke-cluster-standard/variables.tf +++ b/modules/gke-cluster-standard/variables.tf @@ -17,8 +17,6 @@ variable "backup_configs" { description = "Configuration for Backup for GKE." type = object({ - region = string - schedule = string enable_backup_agent = optional(bool, false) backup_plans = optional(map(object({ applications = optional(list(object({ @@ -29,6 +27,8 @@ variable "backup_configs" { include_secrets = optional(bool, true) include_volume_data = optional(bool, true) namespaces = optional(list(string)) + region = string + schedule = string retention_policy_days = optional(string, 1) retention_policy_lock = optional(bool, false) retention_policy_delete_lock_days = optional(string)