ferdinandopaes opened a new issue, #173:
URL: https://github.com/apache/cloudstack-terraform-provider/issues/173

   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
     }
     
   }
   ```
   
   


-- 
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.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to