File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import (
19
19
"github.com/hashicorp/terraform-plugin-framework/path"
20
20
"github.com/hashicorp/terraform-plugin-framework/resource"
21
21
"github.com/hashicorp/terraform-plugin-framework/resource/schema"
22
+ "github.com/hashicorp/terraform-plugin-framework/resource/schema/booldefault"
22
23
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
23
24
"github.com/hashicorp/terraform-plugin-framework/resource/schema/setplanmodifier"
24
25
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
@@ -65,6 +66,8 @@ func (r *clusterResource) Schema(ctx context.Context, request resource.SchemaReq
65
66
names .AttrARN : framework .ARNAttributeComputedOnly (),
66
67
"deletion_protection_enabled" : schema.BoolAttribute {
67
68
Optional : true ,
69
+ Computed : true ,
70
+ Default : booldefault .StaticBool (false ),
68
71
},
69
72
"encryption_details" : framework.ResourceComputedListOfObjectsAttribute [encryptionDetailsModel ](ctx ),
70
73
names .AttrIdentifier : framework .IDAttribute (),
You can’t perform that action at this time.
0 commit comments