Skip to content

Instantly share code, notes, and snippets.

@mungi
Created July 8, 2019 05:23
Show Gist options
  • Save mungi/1464db5ffc64109446d54797491ce03d to your computer and use it in GitHub Desktop.
Save mungi/1464db5ffc64109446d54797491ce03d to your computer and use it in GitHub Desktop.
terraform-debug-msg
# TF_LOG=DEBUG terraform apply
2019/07/08 14:20:21 [INFO] Terraform version: 0.11.14
2019/07/08 14:20:21 [INFO] Go runtime version: go1.12.4
2019/07/08 14:20:21 [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply"}
2019/07/08 14:20:21 [DEBUG] Attempting to open CLI config file: /root/.terraformrc
2019/07/08 14:20:21 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/07/08 14:20:21 [INFO] CLI command args: []string{"apply"}
2019/07/08 14:20:21 [INFO] command: empty terraform config, returning nil
2019/07/08 14:20:21 [DEBUG] command: no data state file found for backend config
2019/07/08 14:20:21 [DEBUG] New state was assigned lineage "0190fed9-962a-50a4-94ac-cba31838697c"
2019/07/08 14:20:21 [INFO] command: backend initialized: <nil>
2019/07/08 14:20:21 [DEBUG] checking for provider in "."
2019/07/08 14:20:21 [DEBUG] checking for provider in "/usr/local/bin"
2019/07/08 14:20:21 [WARN] found legacy provider "terraform-provider-ibm"
2019/07/08 14:20:21 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64"
2019/07/08 14:20:21 [DEBUG] found valid plugin: "ibm", "0.0.0", "/usr/local/bin/terraform-provider-ibm"
2019/07/08 14:20:21 [DEBUG] checking for provisioner in "."
2019/07/08 14:20:21 [DEBUG] checking for provisioner in "/usr/local/bin"
2019/07/08 14:20:21 [DEBUG] checking for provisioner in ".terraform/plugins/linux_amd64"
2019/07/08 14:20:21 [INFO] command: backend <nil> is not enhanced, wrapping in local
2019/07/08 14:20:21 [INFO] backend/local: starting Apply operation
2019/07/08 14:20:21 [INFO] terraform: building graph: GraphTypeInput
2019/07/08 14:20:21 [DEBUG] Resource state not found for "ibm_compute_bare_metal.hourly-bm1": ibm_compute_bare_metal.hourly-bm1
2019/07/08 14:20:21 [TRACE] Graph after step *terraform.AttachStateTransformer:
ibm_compute_bare_metal.hourly-bm1 - *terraform.NodeAbstractResource
2019/07/08 14:20:21 [DEBUG] ReferenceTransformer: "var.ibm_bmx_api_key" references: []
2019/07/08 14:20:21 [DEBUG] ReferenceTransformer: "var.ibm_sl_username" references: []
2019/07/08 14:20:21 [DEBUG] ReferenceTransformer: "var.ibm_sl_api_key" references: []
2019/07/08 14:20:21 [DEBUG] ReferenceTransformer: "provider.ibm" references: [var.ibm_sl_api_key var.ibm_bmx_api_key var.ibm_sl_username]
2019/07/08 14:20:21 [DEBUG] ReferenceTransformer: "ibm_compute_bare_metal.hourly-bm1" references: []
2019/07/08 14:20:21 [DEBUG] Starting graph walk: walkInput
2019-07-08T14:20:21.787+0900 [DEBUG] plugin: waiting for RPC address: path=/usr/local/bin/terraform-provider-ibm
2019-07-08T14:20:21.833+0900 [DEBUG] plugin.terraform-provider-ibm: 2019/07/08 14:20:21 IBM Cloud Provider version 0.17.1
2019-07-08T14:20:21.833+0900 [DEBUG] plugin.terraform-provider-ibm: plugin address: timestamp=2019-07-08T14:20:21.833+0900 address=/tmp/plugin681861739 network=unix
2019/07/08 14:20:21 [INFO] terraform: building graph: GraphTypeValidate
2019/07/08 14:20:21 [DEBUG] Resource state not found for "ibm_compute_bare_metal.hourly-bm1": ibm_compute_bare_metal.hourly-bm1
2019/07/08 14:20:21 [TRACE] Graph after step *terraform.AttachStateTransformer:
ibm_compute_bare_metal.hourly-bm1 - *terraform.NodeValidatableResource
2019/07/08 14:20:21 [DEBUG] resource ibm_compute_bare_metal.hourly-bm1 using provider provider.ibm
2019/07/08 14:20:21 [DEBUG] ReferenceTransformer: "var.ibm_sl_api_key" references: []
2019/07/08 14:20:21 [DEBUG] ReferenceTransformer: "provider.ibm" references: [var.ibm_sl_api_key var.ibm_bmx_api_key var.ibm_sl_username]
2019/07/08 14:20:21 [DEBUG] ReferenceTransformer: "ibm_compute_bare_metal.hourly-bm1" references: []
2019/07/08 14:20:21 [DEBUG] ReferenceTransformer: "var.ibm_bmx_api_key" references: []
2019/07/08 14:20:21 [DEBUG] ReferenceTransformer: "var.ibm_sl_username" references: []
2019/07/08 14:20:21 [DEBUG] Starting graph walk: walkValidate
2019/07/08 14:20:21 [ERROR] root: eval: *terraform.EvalValidateProvider, err: Warnings: ["riaas_endpoint": [DEPRECATED] This field is deprecated use generation "bluemix_api_key": [DEPRECATED] This field is deprecated please use ibmcloud_api_key "bluemix_timeout": [DEPRECATED] This field is deprecated please use ibmcloud_timeout]. Errors: []
2019/07/08 14:20:21 [ERROR] root: eval: *terraform.EvalSequence, err: Warnings: ["riaas_endpoint": [DEPRECATED] This field is deprecated use generation "bluemix_api_key": [DEPRECATED] This field is deprecated please use ibmcloud_api_key "bluemix_timeout": [DEPRECATED] This field is deprecated please use ibmcloud_timeout]. Errors: []
2019/07/08 14:20:21 [ERROR] root: eval: *terraform.EvalOpFilter, err: Warnings: ["riaas_endpoint": [DEPRECATED] This field is deprecated use generation "bluemix_api_key": [DEPRECATED] This field is deprecated please use ibmcloud_api_key "bluemix_timeout": [DEPRECATED] This field is deprecated please use ibmcloud_timeout]. Errors: []
2019/07/08 14:20:21 [ERROR] root: eval: *terraform.EvalSequence, err: Warnings: ["riaas_endpoint": [DEPRECATED] This field is deprecated use generation "bluemix_api_key": [DEPRECATED] This field is deprecated please use ibmcloud_api_key "bluemix_timeout": [DEPRECATED] This field is deprecated please use ibmcloud_timeout]. Errors: []
2019/07/08 14:20:21 [TRACE] [walkValidate] Exiting eval tree: provider.ibm
2019/07/08 14:20:21 [TRACE] dag/walk: walking "ibm_compute_bare_metal.hourly-bm1"
2019/07/08 14:20:21 [TRACE] vertex 'root.ibm_compute_bare_metal.hourly-bm1': walking
2019/07/08 14:20:21 [TRACE] vertex 'root.ibm_compute_bare_metal.hourly-bm1': evaluating
2019/07/08 14:20:21 [TRACE] [walkValidate] Entering eval tree: ibm_compute_bare_metal.hourly-bm1
2019/07/08 14:20:21 [TRACE] root: eval: *terraform.EvalSequence
2019/07/08 14:20:21 [TRACE] root: eval: *terraform.EvalInterpolate
2019/07/08 14:20:21 [TRACE] root: eval: *terraform.EvalIf
2019/07/08 14:20:21 [TRACE] root: eval: *terraform.EvalValidateCount
2019/07/08 14:2l: *terraform.EvalValidateResource
TRACE] Graph after step *terraform.TransitiveReductionTransformer:
root - terraform.graphNodeRoot
var.ibm_bmx_api_key - *terraform.NodeRootVariable
var.ibm_sl_api_key - *terraform.NodeRootVariable
var.ibm_sl_username - *terraform.NodeRootVariable
var.ibm_bmx_api_key - *terraform.NodeRootVariable
var.ibm_sl_api_key - *terraform.NodeRootVariable
var.ibm_sl_username - *terraform.NodeRootVariable
2019/07/08 14:20:21 [DEBUG] Starting graph walk: walkRefresh
2019/07/08 14:20:21 [TRACE] dag/walk: added new vertex: "var.ibm_bmx_api_key"
2019/07/08 14:20:21 [TRACE] dag/walk: added new vertex: "var.ibm_sl_username"
2019/07/08 14:20:21 [TRACE] dag/walk: added new vertex: "var.ibm_sl_api_key"
2019/07/08 14:20:21 [TRACE] dag/walk: added new vertex: "root"
2019/07/08 14:20:21 [TRACE] dag/walk: added edge: "root" waiting on "var.ibm_sl_api_key"
2019/07/08 14:20:21 [TRACE] dag/walk: added edge: "root" waiting on "var.ibm_bmx_api_key"
2019/07/08 14:20:21 [TRACE] dag/walk: added edge: "root" waiting on "var.ibm_sl_username"
2019/07/08 14:20:21 [TRACE] dag/walk: dependencies changed for "root", sending new deps
2019/07/08 14:20:21 [TRACE] dag/walk: walking "var.ibm_bmx_api_key"
2019/07/08 14:20:21 [TRACE] vertex 'root.var.ibm_bmx_api_key': walking
2019/07/08 14:20:21 [TRACE] dag/walk: walking "var.ibm_sl_username"
2019/07/08 14:20:21 [TRACE] vertex 'root.var.ibm_sl_username': walking
2019/07/08 14:20:21 [TRACE] dag/walk: walking "var.ibm_sl_api_key"
2019/07/08 14:20:21 [TRACE] vertex 'root.var.ibm_sl_api_key': walking
2019/07/08 14:20:21 [TRACE] dag/walk: walking "root"
2019/07/08 14:20:21 [TRACE] vertex 'root.root': walking
2019/07/08 14:20:21 [INFO] backend/local: apply calling Plan
2019/07/08 14:20:21 [INFO] terraform: building graph: GraphTypePlan
2019/07/08 14:20:21 [TRACE] ConfigTransformer: Starting for path: []
2019/07/08 14:20:21 [TRACE] Graph after step *terraform.ConfigTransformer:
ibm_compute_bare_metal.hourly-bm1 - *terraform.NodePlannableResource
2019/07/08 14:20:21 [TRACE] Graph after step *terraform.LocalTraNodePlannableResource
root - terraform.graphNodeRoot
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
provider.ibm (close) - *terraform.graphNodeCloseProvider
var.ibm_bmx_api_key - *terraform.NodeRootVariable
var.ibm_sl_api_key - *terraform.NodeRootVariable
var.ibm_sl_username - *terraform.NodeRootVariable
2019/07/08 14:20:21 [DEBUG] Starting graph walk: walkPlan
2019/07/08 14:20:21 [TRACE] dag/walk: added new vertex: "meta.count-boundary (count boundary fixup)"
2019/07/08 14:20:21 [TRACE] dag/walk: added new vertex: "provider.ibm (close)"
2019/07/08 14:20:21 [TRACE] dag/walk: added new vertex: "root"
2019/07/08 14:20:21 [TRACE] dag/walk: added new vertex: "ibm_compute_bare_metal.hourly-bm1"
2019/07/08 14:20:21 [TRACE] dag/walk: added new vertex: "var.ibm_bmx_api_key"
2019/07/08 14:20:21 [TRACE] dag/walk: added new vertex: "var.ibm_sl_username"
2019/07/08 14:20:21 [TRACE] dag/walk: added new vertex: "var.ibm_sl_api_key"
2019/07/08 14:20:21 [TRACE] dag/walk: added new vertex: "provider.ibm"
2019/07/08 14:20:21 [TRACE] dag/walk: added edge: "provider.ibm" waiting on "var.ibm_sl_api_key"
2019/07/08 14:20:21 [TRACE] dag/walk: added edge: "provider.ibm" waiting on "var.ibm_bmx_api_key"
2019/07/08 14:20:21 [TRACE] dag/walk: added edge: "provider.ibm (close)" waiting on "ibm_compute_bare_metal.hourly-bm1"
2019/07/08 14:20:21 [TRACE] dag/walk: added edge: "root" waiting on "provider.ibm (close)"
2019/07/08 14:20:21 [TRACE] dag/walk: added edge: "root" waiting on "meta.count-boundary (count boundary fixup)"
2019/07/08 14:20:21 [TRACE] dag/walk: added edge: "ibm_compute_bare_metal.hourly-bm1" waiting on "provider.ibm"
2019/07/08 14:20:21 [TRACE] dag/walk: added edge: "meta.count-boundary (count boundary fixup)" waiting on "ibm_compute_bare_metal.hourly-bm1"
2019/07/08 14:20:21 [TRACE] dag/walk: added edge: "provider.ibm" waiting on "var.ibm_sl_username"
2019/07/08 14:20:21 [TRACE] dag/walk: dependencies changed for "provider.ibm", sending new deps
2019/07/08 14:20:21 [TRACE] dag/walk: dependencWarning: provider.ibm: "bluemix_api_key": [DEPRECATED] This field is deprecated please use ibmcloud_api_key
Warning: provider.ibm: "bluemix_timeout": [DEPRECATED] This field is deprecated please use ibmcloud_timeout
Warning: provider.ibm: "riaas_endpoint": [DEPRECATED] This field is deprecated use generation
2019-07-08T14:20:21.879+0900 [DEBUG] plugin.terraform-provider-ibm: 2019/07/08 14:20:21 Configuring SoftLayer Session
2019-07-08T14:20:21.879+0900 [DEBUG] plugin.terraform-provider-ibm: 2019/07/08 14:20:21 Skipping Bluemix Clients configuration
2019/07/08 14:20:21 [DEBUG] Resource state not found for "ibm_compute_bare_metal.hourly-bm1": ibm_compute_bare_metal.hourly-bm1
2019/07/08 14:20:21 [TRACE] Graph after step *terraform.AttachStateTransformer:
ibm_compute_bare_metal.hourly-bm1 - *terraform.NodePlannableResourceInstance
2019/07/08 14:20:21 [DEBUG] ReferenceTransformer: "ibm_compute_bare_metal.hourly-bm1" references: []
2019/07/08 14:20:21 [DEBUG] command: asking for input: "Do you want to perform these actions?"
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
+ ibm_compute_bare_metal.hourly-bm1
id: <computed>
block_storage_ids.#: <computed>
datacenter: "wdc04"
domain: "example.com"
extended_hardware_testing: "false"
file_storage_ids.#: <computed>
fixed_config_preset: "S1270V6_16GB_1X2TB_SATA_NORAID"
global_identifier: <computed>
hostname: "hourly-bm"
hourly_billing: "true"
ipv6_address: <computed>
ipv6_address_id: <computed>
ipv6_enabled: "false"
ipv6_static_enabled: "false"
memory: <computed>
network_speed: "1000"
os_reference_code: "WIN_2016-STD_64"
private_ipv4_address: <computed>
private_ipv4_address_id: <computed>
private_network_only: "false"
private_subnet: <computed>
private_vlan_id: <computed>
public_bandwidth: <computed>
public_ipv4_address: <computed>
public_ipv4_address_id: <computed>
public_subnet: <computed>
public_vlan_id: <computed>
redundant_network: "false"
redundant_power_supply: <computed>
restricted_network: "false"
secondary_ip_addresses.#: <computed>
tcp_monitoring: "false"
unbonded_network: "false"
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
2019/07/08 14:20:24 [INFO] terraform: building graph: GraphTypeApply
2019/07/08 14:20:24 [TRACE] DiffTransformer: starting
" => "false" (forces new resource)
ed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "ipv6_address_id":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "ipv6_enabled":*terraform.ResourceAttrDiff{Old:"", New:"false", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "ipv6_static_enabled":*terraform.ResourceAttrDiff{Old:"", New:"false", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "memory":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "network_speed":*terraform.ResourceAttrDiff{Old:"", New:"1000", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "os_reference_code":*terraform.ResourceAttrDiff{Old:"", New:"WIN_2016-STD_64", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "private_ipv4_address":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "private_ipv4_address_id":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "private_network_only":*terraform.ResourceAttrDiff{Old:"", New:"false", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "private_subnet":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "private_vlan_id":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "public_bandwidth":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "public_ipv4_address":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "public_ipv4_address_id":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "public_subnet":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "public_vlan_id":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "redundant_network":*terraform.ResourceAttrDiff{Old:"", New:"false", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "redundant_power_supply":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "restricted_network":*terraform.ResourceAttrDiff{Old:"", New:"false", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "secondary_ip_addresses.#":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "tcp_monitoring":*terraform.ResourceAttrDiff{Old:"", New:"false", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "unbonded_network":*terraform.ResourceAttrDiff{Old:"", New:"false", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}}, Destroy:false, DestroyDeposed:false, DestroyTainted:false, Meta:map[string]interface {}(nil)}
2019/07/08 14:20:24 [DEBUG] Resource state not found for "ibm_compute_bare_metal.hourly-bm1": ibm_compute_bare_metal.hourly-bm1
2019/07/08 14:20:24 [TRACE] Graph after step *terraform.AttachStateTransformer:
ibm_compute_bare_metal.hourly-bm1 - *terraform.NodeApplyableResource
2019/07/08 14:20:24 [TRACE] ProviderConfigTransformer: Starting for path: []
2019/07/08 14:20:24 [TRACE] Attach provider request: []string{} ibm
2019/07/08 14:20:24 [TRACE] Attaching provider config: *config.ProviderConfig{Name:"ibm", Alias:"", Version:"", RawConfig:(*config.RawConfig)(0xc000378540)}
2019/07/08 14:20:24 [TRACE] Graph after step *terraform.ProviderConfigTransformer:
ibm_compute_bare_metal.hourly-bm1 - *terraform.NodeApplyableResource
provider.ibm - *terraform.NodeApplyableProvider
2019/07/08 14:20:24 [TRACE] Graph after step *terraform.MissingProviderTransformer:
ibm_compute_bare_metal.hourly-bm1 - *terraform.NodeApplyableResource
provider.ibm - *terraform.NodeApplyableProvider
2019/07/08 14:20:24 [DEBUG] resource ibm_compute_bare_metal.hourly-bm1 using provider provider.ibm
2019/07/08 14:20:24 [DEBUG] ReferenceTransformer: "ibm_compute_bare_metal.hourly-bm1" references: []
2019/07/08 14:20:24 [DEBUG] ReferenceTransformer: "provider.ibm" references: [var.ibm_sl_api_key var.ibm_bmx_api_key var.ibm_sl_username]
2019/07/08 14:20:24 [DEBUG] ReferenceTransformer: "var.ibm_bmx_api_key" references: []
2019/07/08 14:20:24 [DEBUG] ReferenceTransformer: "var.ibm_sl_username" references: []
2019/07/08 14:20:24 [DEBUG] ReferenceTransformer: "var.ibm_sl_api_key" references: []
2019-07-08T14:20:24.245+0900 [DEBUG] plugin.terraform-provider-ibm: 2019/07/08 14:20:24 Configuring SoftLayer Session
2019-07-08T14:20:24.245+0900 [DEBUG] plugin.terraform-provider-ibm: 2019/07/08 14:20:24 Skipping Bluemix Clients configuration
ibm_compute_bare_metal.hourly-bm1: Creating...
block_storage_ids.#: "" => "<computed>"
datacenter: "" => "wdc04"
domain: "" => "example.com"
extended_hardware_testing: "" => "false"
file_storage_ids.#: "" => "<computed>"
fixed_config_preset: "" => "S1270V6_16GB_1X2TB_SATA_NORAID"
global_identifier: "" => "<computed>"
hostname: "" => "hourly-bm"
hourly_billing: "" => "true"
ipv6_address: "" => "<computed>"
ipv6_address_id: "" => "<computed>"
ipv6_enabled: "" => "false"
ipv6_static_enabled: "" => "false"
memory: "" => "<computed>"
network_speed: "" => "1000"
os_reference_code: "" => "WIN_2016-STD_64"
private_ipv4_address: "" => "<computed>"
private_ipv4_address_id: "" => "<computed>"
private_network_only: "" => "false"
private_subnet: "" => "<computed>"
private_vlan_id: "" => "<computed>"
public_bandwidth: "" => "<computed>"
public_ipv4_address: "" => "<computed>"
public_ipv4_address_id: "" => "<computed>"
public_subnet: "" => "<computed>"
public_vlan_id: "" => "<computed>"
redundant_network: "" => "false"
redundant_power_supply: "" => "<computed>"
restricted_network: "" => "false"
secondary_ip_addresses.#: "" => "<computed>"
tcp_monitoring: "" => "false"
unbonded_network: "" => "false"
2019-07-08T14:20:24.307+0900 [DEBUG] plugin.terraform-provider-ibm: 2019/07/08 14:20:24 [DEBUG] Request URL: POST https://api.softlayer.com/rest/v3/SoftLayer_Hardware/generateOrderTemplate.json
2019-07-08T14:20:24.307+0900 [DEBUG] plugin.terraform-provider-ibm: 2019/07/08 14:20:24 [DEBUG] Parameters: {"parameters":[{"bareMetalInstanceFlag":1,"datacenter":{"name":"wdc04"},"domain":"example.com","fixedConfigurationPreset":{"keyName":"S1270V6_16GB_1X2TB_SATA_NORAID"},"hostname":"hourly-bm","hourlyBillingFlag":true,"networkComponents":[{"maxSpeed":1000}],"operatingSystemReferenceCode":"WIN_2016-STD_64","postInstallScriptUri":"","privateNetworkOnlyFlag":false}]}
2019-07-08T14:20:26.390+0900 [DEBUG] plugin.terraform-provider-ibm: 2019/07/08 14:20:26 [DEBUG] Status Code: 500
2019-07-08T14:20:26.390+0900 [DEBUG] plugin.terraform-provider-ibm: 2019/07/08 14:20:26 [DEBUG] Response: {"error":"Unable to exact match an OS with reference code: WIN_2016-STD_64. Available options: WIN_2016-STD_64","code":"SoftLayer_Exception_NotFound"}
2019/07/08 14:20:26 [DEBUG] plugin: waiting for all plugin processes to complete...
Error: Error applying plan:
1 error occurred:
* ibm_compute_bare_metal.hourly-bm1: 1 error occurred:
2019-07-08T14:20:26.394+0900 [DEBUG] plugin.terraform-provider-ibm: 2019/07/08 14:20:26 [ERR] plugin: plugin server: accept unix /tmp/plugin681861739: use of closed network connection
* ibm_compute_bare_metal.hourly-bm1: Encountered problem trying to get the bare metal order template: SoftLayer_Exception_NotFound: Unable to exact match an OS with reference code: WIN_2016-STD_64. Available options: WIN_2016-STD_64 (HTTP 500)
Terraform does not automatically rollback in the face of errors.
2019-07-08T14:20:26.398+0900 [DEBUG] plugin: plugin process exited: path=/usr/local/bin/terraform-provider-ibm
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment