Skip to content

Error using AutoScaleProfile #173

Description

@ferdinandopaes

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions