manunolo opened a new issue #4:
URL: https://github.com/apache/cloudstack-terraform-provider/issues/4


   I have a problem when I want to build a virtual machine with a custom offer, 
I cannot set the custom values I need for Cpu, Ram and CPUSpeed. 
   
   ```
   Terraform will perform the following actions:
   
     # cloudstack_instance.web will be created
     + resource "cloudstack_instance" "web" {
         + display_name     = (known after apply)
         + expunge          = false
         + group            = (known after apply)
         + id               = (known after apply)
         + ip_address       = (known after apply)
         + name             = "VMLab"
         + network_id       = "06cc48b7-2d66-4c03-8075-4059e04336a7"
         + project          = (known after apply)
         + root_disk_size   = (known after apply)
         + service_offering = "custom offering"
         + start_vm         = true
         + tags             = (known after apply)
         + template         = "7e2ced7e-ae24-4631-8367-aebcf0652a25"
         + zone             = "ZoneLab"
       }
   
   Plan: 1 to add, 0 to change, 0 to destroy.
   
   Do you want to perform these actions?
     Terraform will perform the actions described above.
     Only 'yes' will be accepted to approve.
   
     Enter a value: yes
   
   cloudstack_instance.web: Creating...
   ╷
   │ Error: Error creating the new instance server-1: CloudStack API error 431 
(CSExceptionErrorCode: 4350): Need to specify custom parameter values cpu, cpu 
speed and memory when using custom offering
   │ 
   │   with cloudstack_instance.web,
   │   on main.tf line 21, in resource "cloudstack_instance" "web":
   │   21: resource "cloudstack_instance" "web" {
   │ 
   ╵
   ```
   
   


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


Reply via email to