Skip to content

Commit

Permalink
fix cloud_backup and replication_specs
Browse files Browse the repository at this point in the history
  • Loading branch information
lantoli committed Dec 12, 2023
1 parent c7dfb66 commit 0c3d5a4
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions internal/service/cluster/resource_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func Resource() *schema.Resource {
"cloud_backup": {
Type: schema.TypeBool,
Optional: true,
Default: false,
Computed: true,
ConflictsWith: []string{"backup_enabled"},
},
"provider_instance_size_name": {
Expand Down Expand Up @@ -213,9 +213,10 @@ func Resource() *schema.Resource {
Computed: true,
},
"replication_specs": {
Type: schema.TypeSet,
Optional: true,
Computed: true,
Type: schema.TypeSet,
Optional: true,
Computed: true,
ConfigMode: schema.SchemaConfigModeAttr,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"id": {
Expand All @@ -228,9 +229,10 @@ func Resource() *schema.Resource {
Required: true,
},
"regions_config": {
Type: schema.TypeSet,
Optional: true,
Computed: true,
Type: schema.TypeSet,
Optional: true,
Computed: true,
ConfigMode: schema.SchemaConfigModeAttr,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"region_name": {
Expand Down

0 comments on commit 0c3d5a4

Please sign in to comment.