Skip to content

Commit 0d74fd6

Browse files
committed
fix:(resource) add a attribute of description schema computed: true
1 parent 98c7284 commit 0d74fd6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

zstack/provider/resource_zstack_instance.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ func (r *vmResource) Schema(ctx context.Context, _ resource.SchemaRequest, resp
299299
},
300300
"description": schema.StringAttribute{
301301
Optional: true,
302+
Computed: true,
302303
Description: "A description of the VM instance.",
303304
},
304305
"memory_size": schema.Int64Attribute{

0 commit comments

Comments
 (0)