-
Notifications
You must be signed in to change notification settings - Fork 50
Closed
Labels
good first issueGood for newcomersGood for newcomers
Milestone
Description
Hi,
I'm facing an error when I try create an AutoScaleProfile.
Error
Error: Error creating AutoScaleVmProfile : json: cannot unmarshal object into Go struct field CreateAutoScaleVmProfileResponse.otherdeployparams of type string
This error is showed with no other_deploy_params
.
When I use other_deploy_params, adding just one argument, I have another error:
Error: Error creating AutoScaleVmProfile : CloudStack API error 431 (CSExceptionErrorCode: 9999): Unable to execute API command autoscalevmprofile due to invalid value networkids=7750f61d-749a-4b2b-966c-d8c5dc268ab6 for parameter otherdeployparams
autoscale.tf
example
resource "cloudstack_autoscale_vm_profile" "this" {
service_offering = var.size
template = var.template_id
zone = var.zone
other_deploy_params = {
networkids = var.subnet.id
}
}
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers
Type
Projects
Status
Done