-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Client update required #221
Comments
Can you let me know how you provision the same service using the ibmcloud resource cli command..I think the ssh key needs to be passed as parameter |
The API is designed as per API doc https://cloud.ibm.com/apidocs/resource-controller/resource-controller#create-provision-a-new-resource-instance |
Yes - that API specification is incomplete. If you need to provision a HPVS then you need to pass in the key.. We can make it an optional parameter. |
We need to pass the key as a value in parameter....Add the key(name and value ) in Parameters |
When a resource instance for hpvs is required to be created via terraform it need a sshkey to be passed in . The current client structure does not permit that
CreateServiceInstanceRequest struct {
Name string
json:"name"
ServicePlanID string
json:"resource_plan_id"
ResourceGroupID string
json:"resource_group_id"
Crn string
json:"crn,omitempty"
Tags []string
json:"tags,omitempty"
Parameters map[string]interface{}
json:"parameters,omitempty"
TargetCrn string
json:"target_crn"
}
If we are to create the hpvs via terraform this structure needs to be update to add the SSHKey as well.
The text was updated successfully, but these errors were encountered: