Skip to content

Commit e8e3191

Browse files
committed
fix
1 parent d316c4d commit e8e3191

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

spectrocloud/schemas/backup_policy.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,11 @@ func BackupPolicySchema() *schema.Schema {
4646
Description: "Indicates whether to include cluster resources in the backup. If set to false, only the cluster configuration and disks will be backed up. (Note: Starting with Palette version 4.6, the include_cluster_resources attribute will be deprecated, and a new attribute, include_cluster_resources_mode, will be introduced.)",
4747
},
4848
"include_cluster_resources_mode": {
49-
Type: schema.TypeString,
50-
Optional: true,
51-
Description: "Specifies whether to include the cluster resources in the backup. Supported values are `always`, `never`, and `auto`.",
52-
ValidateFunc: validation.StringInSlice([]string{"always", "never", "auto"}, false),
49+
Type: schema.TypeString,
50+
Optional: true,
51+
ConflictsWith: []string{"include_cluster_resources"},
52+
Description: "Specifies whether to include the cluster resources in the backup. Supported values are `always`, `never`, and `auto`.",
53+
ValidateFunc: validation.StringInSlice([]string{"always", "never", "auto"}, false),
5354
},
5455
"namespaces": {
5556
Type: schema.TypeSet,

0 commit comments

Comments
 (0)