kiranchavala commented on issue #68: URL: https://github.com/apache/cloudstack-terraform-provider/issues/68#issuecomment-1978716001
@vishesh92 We need to add the parameter "overridediskofferingid" to the resource cloudstack_instance https://cloudstack.apache.org/api/apidocs-4.19/apis/deployVirtualMachine.html https://github.com/apache/cloudstack-terraform-provider/blob/main/cloudstack/resource_cloudstack_instance.go https://github.com/apache/cloudstack-go/blob/main/cloudstack/VirtualMachineService.go#L40 When I added the following code and try to build it locally getting the following exception ``` "overridediskofferingid": { Type: schema.TypeString, Optional: true, }, if overridediskofferingid, ok := d.GetOk("overridediskofferingid"); ok { p.SetOverridediskofferingid(overridediskofferingid.(string)) } ``` ``` cloudstack-terraform-provider git:(add-overridediskofferingid) ✗ go build # github.com/terraform-providers/terraform-provider-cloudstack/cloudstack cloudstack/resource_cloudstack_instance.go:291:5: p.SetOverridediskofferingid undefined (type *"github.com/apache/cloudstack-go/v2/cloudstack".DeployVirtualMachineParams has no field or method SetOverridediskofferingid) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org