Skip to content

Commit

Permalink
Removed changed on virtual controllers
Browse files Browse the repository at this point in the history
  • Loading branch information
pbesret committed Nov 10, 2023
1 parent 02a4b34 commit 0f7a00d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion internal/client/compute_virtual_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ type VirtualController struct {
VirtualMachineId string `terraform:"virtual_machine_id"`
HotAddRemove bool `terraform:"hot_add_remove"`
Type string `terraform:"type"`
SubType string `terraform:"sub_type"`
Label string `terraform:"label"`
Summary string `terraform:"summary"`
VirtualDisks []string `terraform:"virtual_disks"`
Expand Down
7 changes: 3 additions & 4 deletions internal/provider/resource_compute_virtual_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ func resourceVirtualController() *schema.Resource {
Description: "Can be one of : USB2, USB3, SCSI, CD/DVD",
},
"sub_type": {
Type: schema.TypeString,
Optional: true,
Computed: true,
// ForceNew: true,
Type: schema.TypeString,
Optional: true,
ForceNew: true,
ValidateFunc: validation.StringInSlice([]string{"BusLogic", "LSILogic", "LSILogicSAS", "ParaVirtual"}, false),
Description: "Can be one of : BusLogic, LSILogic, LSILogicSAS, ParaVirtual",
},
Expand Down

0 comments on commit 0f7a00d

Please sign in to comment.