diff --git a/terraform/cluster-templates-tf/maintenance_policy.tf b/terraform/cluster-templates-tf/maintenance_policy.tf new file mode 100644 index 0000000..c8b5f5f --- /dev/null +++ b/terraform/cluster-templates-tf/maintenance_policy.tf @@ -0,0 +1,10 @@ +resource "spectrocloud_cluster_config_policy" "maintenance" { + name = "tf-maintenance-policy" + context = "project" + + schedules { + name = "weekly-sunday" + start_cron = "0 0 * * SUN" + duration_hrs = 4 + } +}