Skip to content

Commit 32aab1c

Browse files
committed
Fix for nested objects in vm schema
1 parent 633dc85 commit 32aab1c

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

internal/provider/hypercore_vm_resource.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ type HypercoreVMResource struct {
3434

3535
// HypercoreVMResourceModel describes the resource data model.
3636
type HypercoreVMResourceModel struct {
37-
Group types.String `tfsdk:"group"`
38-
Name types.String `tfsdk:"name"`
39-
Description types.String `tfsdk:"description"`
40-
VCPU types.Int32 `tfsdk:"vcpu"`
41-
Memory types.Int64 `tfsdk:"memory"`
42-
Import ImportModel `tfsdk:"import"`
43-
SnapshotScheduleUUID types.String `tfsdk:"snapshot_schedule_uuid"`
44-
Clone CloneModel `tfsdk:"clone"`
45-
AffinityStrategy AffinityStrategyModel `tfsdk:"affinity_strategy"`
46-
Id types.String `tfsdk:"id"`
37+
Group types.String `tfsdk:"group"`
38+
Name types.String `tfsdk:"name"`
39+
Description types.String `tfsdk:"description"`
40+
VCPU types.Int32 `tfsdk:"vcpu"`
41+
Memory types.Int64 `tfsdk:"memory"`
42+
Import *ImportModel `tfsdk:"import"`
43+
SnapshotScheduleUUID types.String `tfsdk:"snapshot_schedule_uuid"`
44+
Clone *CloneModel `tfsdk:"clone"`
45+
AffinityStrategy *AffinityStrategyModel `tfsdk:"affinity_strategy"`
46+
Id types.String `tfsdk:"id"`
4747
}
4848

4949
type ImportModel struct {

0 commit comments

Comments
 (0)