hashicorp / terraform-provider-softlayer

Terraform SoftLayer provider. Please note: This Terraform provider is archived per our provider archiving process: https://terraform.io/docs/internals/archiving.html
https://www.terraform.io/docs/providers/softlayer/
Mozilla Public License 2.0
1 stars 7 forks source link

Private Custom Image with SoftLayer not working #2

Open hashibot opened 7 years ago

hashibot commented 7 years ago

This issue was originally opened by @pat610 as hashicorp/terraform#8734. It was migrated here as part of the provider split. The original body of the issue is below.


I've used the SoftLayer API to get the globalIdentifier of one of my private custom images. However, when I specify that image and run terraform apply I get an error:

softlayer_virtual_guest.terraform-sample-BDTGroup: Creating... backend_vlan_id: "" => "559104" cpu: "" => "8" dedicated_acct_host_only: "" => "false" disks.#: "" => "1" disks.0: "" => "100" domain: "" => "somedomain.com" frontend_vlan_id: "" => "559102" hourly_billing: "" => "true" image: "" => "4b36e2f4-02f7-4830-8dd2-c37988c76783" ipv4_address: "" => "" ipv4_address_private: "" => "" local_disk: "" => "false" name: "" => "terraform-vm" private_network_only: "" => "false" public_network_speed: "" => "1000" ram: "" => "32768" region: "" => "tor01" Error applying plan:

1 error(s) occurred:

Terraform v0.7.3

Terraform Configuration Files

resource "softlayer_virtual_guest" "terraform-sample-BDTGroup" {
    name = "terraform-vm"
    domain = "somedomain.com"
    image = "4b36e2f4-02f7-4830-8dd2-c37988c76783"
    region = "tor01"
    public_network_speed = 1000
    hourly_billing = true
    private_network_only = false
    cpu = 8
    ram = 32768
    disks = [100]
    dedicated_acct_host_only = false
    local_disk = false
    frontend_vlan_id = 559102
    backend_vlan_id = 559104    
}

Expected Behavior

Get a VM with my custom image

Actual Behavior

Error applying plan:

1 error(s) occurred:

albee-jhoney commented 6 years ago

Let us know, if you face this error in the IBM Cloud provider here: https://github.com/IBM-Cloud/terraform-provider-ibm; docs - https://ibm-cloud.github.io/tf-ibm-docs/