Created
May 20, 2018 17:03
-
-
Save amalleo25/226b93c44873d9197d5f2eeb90b40f64 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ############ | |
| ## Import ## | |
| ############ | |
| root@9a48ce63-287c-ea55-8c25-bd4ae53bc648:~/terraform-triton2# terraform import triton_machine.network-test4 3773107d-8396-e319-820f-f17448ecd7b3 | |
| 2018/05/20 16:33:34 [INFO] Terraform version: 0.11.7 41e50bd32a8825a84535e353c3674af8ce799161 | |
| 2018/05/20 16:33:34 [INFO] Go runtime version: go1.10.1 | |
| 2018/05/20 16:33:34 [INFO] CLI args: []string{"/usr/local/bin/terraform", "import", "triton_machine.network-test4", "3773107d-8396-e319-820f-f17448ecd7b3"} | |
| 2018/05/20 16:33:34 [DEBUG] Attempting to open CLI config file: /root/.terraformrc | |
| 2018/05/20 16:33:34 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
| 2018/05/20 16:33:34 [INFO] CLI command args: []string{"import", "triton_machine.network-test4", "3773107d-8396-e319-820f-f17448ecd7b3"} | |
| 2018/05/20 16:33:34 [INFO] command: empty terraform config, returning nil | |
| 2018/05/20 16:33:34 [DEBUG] command: no data state file found for backend config | |
| 2018/05/20 16:33:34 [DEBUG] New state was assigned lineage "b9555d19-3624-6982-313e-96ea45922f16" | |
| 2018/05/20 16:33:34 [INFO] command: backend initialized: <nil> | |
| 2018/05/20 16:33:34 [DEBUG] checking for provider in "." | |
| 2018/05/20 16:33:34 [DEBUG] checking for provider in "/usr/local/bin" | |
| 2018/05/20 16:33:34 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64" | |
| 2018/05/20 16:33:34 [DEBUG] found provider "terraform-provider-triton_v0.5.1_x4" | |
| 2018/05/20 16:33:34 [DEBUG] found valid plugin: "triton", "0.5.1", "/root/terraform-triton2/.terraform/plugins/linux_amd64/terraform-provider-triton_v0.5.1_x4" | |
| 2018/05/20 16:33:34 [DEBUG] checking for provisioner in "." | |
| 2018/05/20 16:33:34 [DEBUG] checking for provisioner in "/usr/local/bin" | |
| 2018/05/20 16:33:34 [DEBUG] checking for provisioner in ".terraform/plugins/linux_amd64" | |
| 2018/05/20 16:33:34 [INFO] command: backend <nil> is not enhanced, wrapping in local | |
| 2018/05/20 16:33:34 [DEBUG] resource data.triton_network.external using provider provider.triton | |
| 2018/05/20 16:33:34 [DEBUG] resource triton_machine.network-test4 using provider provider.triton | |
| 2018/05/20 16:33:34 [DEBUG] resource triton_machine.network-test4 (import id: 3773107d-8396-e319-820f-f17448ecd7b3) using provider provider.triton | |
| 2018/05/20 16:33:34 [DEBUG] Starting graph walk: walkImport | |
| 2018-05-20T16:33:34.202Z [DEBUG] plugin: waiting for RPC address: path=/root/terraform-triton2/.terraform/plugins/linux_amd64/terraform-provider-triton_v0.5.1_x4 | |
| 2018-05-20T16:33:34.219Z [DEBUG] plugin.terraform-provider-triton_v0.5.1_x4: plugin address: timestamp=2018-05-20T16:33:34.219Z address=/tmp/plugin295597066 network=unix | |
| triton_machine.network-test4: Importing from ID "3773107d-8396-e319-820f-f17448ecd7b3"... | |
| triton_machine.network-test4: Import complete! | |
| Imported triton_machine (ID: 3773107d-8396-e319-820f-f17448ecd7b3) | |
| triton_machine.network-test4: Refreshing state... (ID: 3773107d-8396-e319-820f-f17448ecd7b3) | |
| Import successful! | |
| 2018/05/20 16:33:35 [DEBUG] plugin: waiting for all plugin processes to complete... | |
| The resources that were imported are shown above. These resources are now in | |
| your Terraform state and will henceforth be managed by Terraform. | |
| 2018-05-20T16:33:35.142Z [DEBUG] plugin: plugin process exited: path=/root/terraform-triton2/.terraform/plugins/linux_amd64/terraform-provider-triton_v0.5.1_x4 | |
| ########## | |
| ## Plan ## | |
| ########## | |
| root@9a48ce63-287c-ea55-8c25-bd4ae53bc648:~/terraform-triton2# terraform plan | |
| 2018/05/20 16:47:50 [INFO] Terraform version: 0.11.7 41e50bd32a8825a84535e353c3674af8ce799161 | |
| 2018/05/20 16:47:50 [INFO] Go runtime version: go1.10.1 | |
| 2018/05/20 16:47:50 [INFO] CLI args: []string{"/usr/local/bin/terraform", "plan"} | |
| 2018/05/20 16:47:50 [DEBUG] Attempting to open CLI config file: /root/.terraformrc | |
| 2018/05/20 16:47:50 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
| 2018/05/20 16:47:50 [INFO] CLI command args: []string{"plan"} | |
| 2018/05/20 16:47:50 [INFO] command: empty terraform config, returning nil | |
| 2018/05/20 16:47:50 [DEBUG] command: no data state file found for backend config | |
| 2018/05/20 16:47:50 [DEBUG] New state was assigned lineage "9a860e3e-fa5d-e8f4-fe66-bceecd70a825" | |
| 2018/05/20 16:47:50 [INFO] command: backend initialized: <nil> | |
| 2018/05/20 16:47:50 [DEBUG] checking for provider in "." | |
| 2018/05/20 16:47:50 [DEBUG] checking for provider in "/usr/local/bin" | |
| 2018/05/20 16:47:50 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64" | |
| 2018/05/20 16:47:50 [DEBUG] found provider "terraform-provider-triton_v0.5.1_x4" | |
| 2018/05/20 16:47:50 [DEBUG] found valid plugin: "triton", "0.5.1", "/root/terraform-triton2/.terraform/plugins/linux_amd64/terraform-provider-triton_v0.5.1_x4" | |
| 2018/05/20 16:47:50 [DEBUG] checking for provisioner in "." | |
| 2018/05/20 16:47:50 [DEBUG] checking for provisioner in "/usr/local/bin" | |
| 2018/05/20 16:47:50 [DEBUG] checking for provisioner in ".terraform/plugins/linux_amd64" | |
| 2018/05/20 16:47:50 [INFO] command: backend <nil> is not enhanced, wrapping in local | |
| 2018/05/20 16:47:50 [INFO] backend/local: starting Plan operation | |
| 2018/05/20 16:47:51 [INFO] terraform: building graph: GraphTypeInput | |
| 2018/05/20 16:47:51 [DEBUG] Attaching resource state to "data.triton_network.external": &terraform.ResourceState{Type:"triton_network", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc42044e5a0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| 2018/05/20 16:47:51 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc42044e5f0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| 2018/05/20 16:47:51 [TRACE] Graph after step *terraform.AttachStateTransformer: | |
| data.triton_network.external - *terraform.NodeAbstractResource | |
| output.external_network_id - *terraform.NodeApplyableOutput | |
| triton_machine.network-test4 - *terraform.NodeAbstractResource | |
| 2018/05/20 16:47:51 [DEBUG] resource data.triton_network.external using provider provider.triton | |
| 2018/05/20 16:47:51 [DEBUG] resource triton_machine.network-test4 using provider provider.triton | |
| 2018/05/20 16:47:51 [DEBUG] ReferenceTransformer: "output.external_network_id" references: [data.triton_network.external] | |
| 2018/05/20 16:47:51 [DEBUG] ReferenceTransformer: "provider.triton" references: [] | |
| 2018/05/20 16:47:51 [DEBUG] ReferenceTransformer: "data.triton_network.external" references: [] | |
| 2018/05/20 16:47:51 [DEBUG] ReferenceTransformer: "triton_machine.network-test4" references: [] | |
| 2018/05/20 16:47:51 [TRACE] Graph after step *terraform.ReferenceTransformer: | |
| data.triton_network.external - *terraform.NodeAbstractResource | |
| provider.triton - *terraform.NodeApplyableProvider | |
| output.external_network_id - *terraform.NodeApplyableOutput | |
| data.triton_network.external - *terraform.NodeAbstractResource | |
| provider.triton - *terraform.NodeApplyableProvider | |
| triton_machine.network-test4 - *terraform.NodeAbstractResource | |
| provider.triton - *terraform.NodeApplyableProvider | |
| 2018/05/20 16:47:51 [DEBUG] Starting graph walk: walkInput | |
| 2018-05-20T16:47:51.246Z [DEBUG] plugin: starting plugin: path=/root/terraform-triton2/.terraform/plugins/linux_amd64/terraform-provider-triton_v0.5.1_x4 args=[/root/terraform-triton2/.terraform/plugins/linux_amd64/terraform-provider-triton_v0.5.1_x4] | |
| 2018-05-20T16:47:51.248Z [DEBUG] plugin: waiting for RPC address: path=/root/terraform-triton2/.terraform/plugins/linux_amd64/terraform-provider-triton_v0.5.1_x4 | |
| 2018-05-20T16:47:51.257Z [DEBUG] plugin.terraform-provider-triton_v0.5.1_x4: plugin address: timestamp=2018-05-20T16:47:51.257Z address=/tmp/plugin064148266 network=unix | |
| 2018/05/20 16:47:51 [INFO] terraform: building graph: GraphTypeValidate | |
| 2018/05/20 16:47:51 [DEBUG] Attaching resource state to "data.triton_network.external": &terraform.ResourceState{Type:"triton_network", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc42044e5a0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| 2018/05/20 16:47:51 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc42044e5f0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| 2018/05/20 16:47:51 [DEBUG] resource triton_machine.network-test4 using provider provider.triton | |
| 2018/05/20 16:47:51 [DEBUG] resource data.triton_network.external using provider provider.triton | |
| 2018/05/20 16:47:51 [DEBUG] ReferenceTransformer: "data.triton_network.external" references: [] | |
| 2018/05/20 16:47:51 [DEBUG] ReferenceTransformer: "triton_machine.network-test4" references: [] | |
| 2018/05/20 16:47:51 [DEBUG] ReferenceTransformer: "output.external_network_id" references: [data.triton_network.external] | |
| 2018/05/20 16:47:51 [DEBUG] ReferenceTransformer: "provider.triton" references: [] | |
| 2018/05/20 16:47:51 [DEBUG] Attaching resource state to "data.triton_network.external": &terraform.ResourceState{Type:"triton_network", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc42044e5a0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| 2018/05/20 16:47:51 [TRACE] Graph after step *terraform.AttachStateTransformer: | |
| data.triton_network.external - *terraform.NodeValidatableResourceInstance | |
| 2018/05/20 16:47:51 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc42044e5f0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| 2018/05/20 16:47:51 [INFO] backend/local: plan calling Refresh | |
| Refreshing Terraform state in-memory prior to plan... | |
| 2018/05/20 16:47:51 [INFO] terraform: building graph: GraphTypeRefresh | |
| 2018/05/20 16:47:51 [TRACE] ConfigTransformer: Starting for path: [] | |
| 2018/05/20 16:47:51 [TRACE] Graph after step *terraform.ConfigTransformer: | |
| triton_machine.network-test4 - *terraform.NodeRefreshableManagedResource | |
| 2018/05/20 16:47:51 [TRACE] ConfigTransformer: Starting for path: [] | |
| The refreshed state will be used to calculate this plan, but will not be | |
| persisted to local or remote state storage. | |
| 2018/05/20 16:47:51 [DEBUG] Attaching resource state to "data.triton_network.external": &terraform.ResourceState{Type:"triton_network", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc42039d090), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| 2018/05/20 16:47:51 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc42039d0e0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| 2018/05/20 16:47:51 [DEBUG] resource triton_machine.network-test4 using provider provider.triton | |
| 2018/05/20 16:47:51 [DEBUG] resource data.triton_network.external using provider provider.triton | |
| 2018/05/20 16:47:51 [DEBUG] ReferenceTransformer: "triton_machine.network-test4" references: [] | |
| 2018/05/20 16:47:51 [DEBUG] ReferenceTransformer: "data.triton_network.external" references: [] | |
| 2018/05/20 16:47:51 [DEBUG] ReferenceTransformer: "provider.triton" references: [] | |
| 2018/05/20 16:47:51 [DEBUG] ReferenceTransformer: "output.external_network_id" references: [data.triton_network.external] | |
| 2018/05/20 16:47:51 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc42039d0e0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| 2018/05/20 16:47:51 [DEBUG] ReferenceTransformer: "triton_machine.network-test4" references: [] | |
| 2018/05/20 16:47:51 [TRACE] Graph after step *terraform.ReferenceTransformer: | |
| triton_machine.network-test4 - *terraform.NodeRefreshableManagedResourceInstance | |
| triton_machine.network-test4: Refreshing state... (ID: 3773107d-8396-e319-820f-f17448ecd7b3) | |
| 2018/05/20 16:47:51 [DEBUG] Attaching resource state to "data.triton_network.external": &terraform.ResourceState{Type:"triton_network", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc42039d090), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| data.triton_network.external: Refreshing state... | |
| 2018-05-20T16:47:51.275Z [DEBUG] plugin.terraform-provider-triton_v0.5.1_x4: 2018/05/20 16:47:51 [DEBUG] triton_network: Reading Network details. | |
| 2018-05-20T16:47:51.548Z [DEBUG] plugin.terraform-provider-triton_v0.5.1_x4: 2018/05/20 16:47:51 [DEBUG] triton_network: Found matching Network: &{Id:bedef3af-49b1-445c-b3ac-0b7f0112afcf Name:external Public:true Fabric:false Description: Subnet: ProvisioningStartIP: ProvisioningEndIP: Gateway: Resolvers:[] Routes:map[] InternetNAT:false} | |
| ------------------------------------------------------------------------ | |
| 2018/05/20 16:47:52 [INFO] terraform: building graph: GraphTypePlan | |
| 2018/05/20 16:47:52 [DEBUG] Attaching resource state to "data.triton_network.external": &terraform.ResourceState{Type:"triton_network", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4203f22d0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| 2018/05/20 16:47:52 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4203f2320), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| 2018/05/20 16:47:52 [DEBUG] resource triton_machine.network-test4 using provider provider.triton | |
| 2018/05/20 16:47:52 [DEBUG] resource data.triton_network.external using provider provider.triton | |
| 2018/05/20 16:47:52 [DEBUG] ReferenceTransformer: "data.triton_network.external" references: [] | |
| 2018/05/20 16:47:52 [DEBUG] ReferenceTransformer: "triton_machine.network-test4" references: [] | |
| 2018/05/20 16:47:52 [DEBUG] ReferenceTransformer: "output.external_network_id" references: [data.triton_network.external] | |
| 2018/05/20 16:47:52 [DEBUG] ReferenceTransformer: "provider.triton" references: [] | |
| 2018/05/20 16:47:52 [TRACE] Graph after step *terraform.ReferenceTransformer: | |
| data.triton_network.external - *terraform.NodePlannableResource | |
| provider.triton - *terraform.NodeApplyableProvider | |
| output.external_network_id - *terraform.NodeApplyableOutput | |
| data.triton_network.external - *terraform.NodePlannableResource | |
| provider.triton - *terraform.NodeApplyableProvider | |
| triton_machine.network-test4 - *terraform.NodePlannableResource | |
| provider.triton - *terraform.NodeApplyableProvider | |
| 2018/05/20 16:47:52 [DEBUG] Starting graph walk: walkPlan | |
| 2018/05/20 16:47:52 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4203f2320), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| 2018/05/20 16:47:52 [DEBUG] Attaching resource state to "data.triton_network.external": &terraform.ResourceState{Type:"triton_network", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4203f22d0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| 2018/05/20 16:47:52 [TRACE] Graph after step *terraform.AttachStateTransformer: | |
| data.triton_network.external - *terraform.NodePlannableResourceInstance | |
| 2018/05/20 16:47:52 [DEBUG] ReferenceTransformer: "data.triton_network.external" references: [] | |
| 2018/05/20 16:47:52 [TRACE] Graph after step *terraform.ReferenceTransformer: | |
| data.triton_network.external - *terraform.NodePlannableResourceInstance | |
| 2018/05/20 16:47:52 [TRACE] Graph after step *terraform.RootTransformer: | |
| data.triton_network.external - *terraform.NodePlannableResourceInstance | |
| An execution plan has been generated and is shown below. | |
| Resource actions are indicated with the following symbols: | |
| ~ update in-place | |
| Terraform will perform the following actions: | |
| ~ triton_machine.network-test4 | |
| networks.#: "0" => "1" | |
| networks.0: "" => "bedef3af-49b1-445c-b3ac-0b7f0112afcf" | |
| Plan: 0 to add, 1 to change, 0 to destroy. | |
| ------------------------------------------------------------------------ | |
| Note: You didn't specify an "-out" parameter to save this plan, so Terraform | |
| can't guarantee that exactly these actions will be performed if | |
| "terraform apply" is subsequently run. | |
| 2018/05/20 16:47:52 [DEBUG] plugin: waiting for all plugin processes to complete... | |
| 2018-05-20T16:47:52.360Z [DEBUG] plugin: plugin process exited: path=/root/terraform-triton2/.terraform/plugins/linux_amd64/terraform-provider-triton_v0.5.1_x4 | |
| ########### | |
| ## Apply ## | |
| ########### | |
| root@9a48ce63-287c-ea55-8c25-bd4ae53bc648:~/terraform-triton2# terraform apply | |
| 2018/05/20 17:00:37 [INFO] Terraform version: 0.11.7 41e50bd32a8825a84535e353c3674af8ce799161 | |
| 2018/05/20 17:00:37 [INFO] Go runtime version: go1.10.1 | |
| 2018/05/20 17:00:37 [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply"} | |
| 2018/05/20 17:00:37 [DEBUG] Attempting to open CLI config file: /root/.terraformrc | |
| 2018/05/20 17:00:37 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
| 2018/05/20 17:00:37 [INFO] CLI command args: []string{"apply"} | |
| 2018/05/20 17:00:37 [INFO] command: empty terraform config, returning nil | |
| 2018/05/20 17:00:37 [DEBUG] command: no data state file found for backend config | |
| 2018/05/20 17:00:37 [DEBUG] New state was assigned lineage "b08e1a3c-cb19-950f-e217-b5262920febd" | |
| 2018/05/20 17:00:37 [INFO] command: backend initialized: <nil> | |
| 2018/05/20 17:00:37 [DEBUG] checking for provider in "." | |
| 2018/05/20 17:00:37 [DEBUG] checking for provider in "/usr/local/bin" | |
| 2018/05/20 17:00:37 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64" | |
| 2018/05/20 17:00:37 [DEBUG] found provider "terraform-provider-triton_v0.5.1_x4" | |
| 2018/05/20 17:00:37 [DEBUG] found valid plugin: "triton", "0.5.1", "/root/terraform-triton2/.terraform/plugins/linux_amd64/terraform-provider-triton_v0.5.1_x4" | |
| 2018/05/20 17:00:37 [DEBUG] checking for provisioner in "." | |
| 2018/05/20 17:00:37 [DEBUG] checking for provisioner in "/usr/local/bin" | |
| 2018/05/20 17:00:37 [DEBUG] checking for provisioner in ".terraform/plugins/linux_amd64" | |
| 2018/05/20 17:00:37 [INFO] command: backend <nil> is not enhanced, wrapping in local | |
| 2018/05/20 17:00:37 [INFO] backend/local: starting Apply operation | |
| 2018/05/20 17:00:38 [INFO] terraform: building graph: GraphTypeInput | |
| Count:(*config.RawConfig)(0xc42028fb90), RawConfig:(*config.RawConfig)(0xc42028fb20), Provisioners:[]*config.Provisioner(nil), Provider:"", DependsOn:[]string(nil), Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}} | |
| 2018/05/20 17:00:38 [TRACE] Graph after step *terraform.AttachResourceConfigTransformer: | |
| data.triton_network.external - *terraform.NodeAbstractResource | |
| output.external_network_id - *terraform.NodeApplyableOutput | |
| triton_machine.network-test4 - *terraform.NodeAbstractResource | |
| 2018/05/20 17:00:38 [DEBUG] Attaching resource state to "data.triton_network.external": &terraform.ResourceState{Type:"triton_network", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420420640), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| 2018/05/20 17:00:38 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420420690), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| 2018/05/20 17:00:38 [TRACE] Graph after step *terraform.AttachStateTransformer: | |
| data.triton_network.external - *terraform.NodeAbstractResource | |
| output.external_network_id - *terraform.NodeApplyableOutput | |
| triton_machine.network-test4 - *terraform.NodeAbstractResource | |
| 2018/05/20 17:00:38 [TRACE] Graph after step *terraform.RootVariableTransformer: | |
| data.triton_network.external - *terraform.NodeAbstractResource | |
| output.external_network_id - *terraform.NodeApplyableOutput | |
| triton_machine.network-test4 - *terraform.NodeAbstractResource | |
| 2018/05/20 17:00:38 [DEBUG] resource triton_machine.network-test4 using provider provider.triton | |
| 2018/05/20 17:00:38 [DEBUG] resource data.triton_network.external using provider provider.triton | |
| 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "data.triton_network.external" references: [] | |
| 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "triton_machine.network-test4" references: [] | |
| 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "output.external_network_id" references: [data.triton_network.external] | |
| 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "provider.triton" references: [] | |
| deApplyableOutput | |
| provider.triton - *terraform.NodeApplyableProvider | |
| triton_machine.network-test4 - *terraform.NodeAbstractResource | |
| output.external_network_id - *terraform.NodeApplyableOutput | |
| data.triton_network.external - *terraform.NodeAbstractResource | |
| provider.triton - *terraform.NodeApplyableProvider | |
| provider.triton (close) - *terraform.graphNodeCloseProvider | |
| data.triton_network.external - *terraform.NodeAbstractResource | |
| provider.triton - *terraform.NodeApplyableProvider | |
| triton_machine.network-test4 - *terraform.NodeAbstractResource | |
| root - terraform.graphNodeRoot | |
| meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary | |
| provider.triton (close) - *terraform.graphNodeCloseProvider | |
| triton_machine.network-test4 - *terraform.NodeAbstractResource | |
| provider.triton - *terraform.NodeApplyableProvider | |
| 2018/05/20 17:00:38 [DEBUG] Starting graph walk: walkInput | |
| 2018-05-20T17:00:38.075Z [DEBUG] plugin: starting plugin: path=/root/terraform-triton2/.terraform/plugins/linux_amd64/terraform-provider-triton_v0.5.1_x4 args=[/root/terraform-triton2/.terraform/plugins/linux_amd64/terraform-provider-triton_v0.5.1_x4] | |
| 2018-05-20T17:00:38.076Z [DEBUG] plugin: waiting for RPC address: path=/root/terraform-triton2/.terraform/plugins/linux_amd64/terraform-provider-triton_v0.5.1_x4 | |
| 2018-05-20T17:00:38.110Z [DEBUG] plugin.terraform-provider-triton_v0.5.1_x4: plugin address: timestamp=2018-05-20T17:00:38.090Z address=/tmp/plugin710061572 network=unix | |
| 2018/05/20 17:00:38 [INFO] terraform: building graph: GraphTypeValidate | |
| 2018/05/20 17:00:38 [DEBUG] Attaching resource state to "data.triton_network.external": &terraform.ResourceState{Type:"triton_network", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420420640), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| 2018/05/20 17:00:38 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420420690), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "data.triton_network.external" references: [] | |
| 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "triton_machine.network-test4" references: [] | |
| 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "output.external_network_id" references: [data.triton_network.external] | |
| 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "provider.triton" references: [] | |
| 2018/05/20 17:00:38 [DEBUG] Attaching resource state to "data.triton_network.external": &terraform.ResourceState{Type:"triton_network", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420420640), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| 2018/05/20 17:00:38 [INFO] backend/local: apply calling Refresh | |
| 2018/05/20 17:00:38 [INFO] terraform: building graph: GraphTypeRefresh | |
| 2018/05/20 17:00:38 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420090780), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| 2018/05/20 17:00:38 [DEBUG] Attaching resource state to "data.triton_network.external": &terraform.ResourceState{Type:"triton_network", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420090730), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| 2018/05/20 17:00:38 [DEBUG] resource triton_machine.network-test4 using provider provider.triton | |
| 2018/05/20 17:00:38 [DEBUG] resource data.triton_network.external using provider provider.triton | |
| 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "triton_machine.network-test4" references: [] | |
| 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "data.triton_network.external" references: [] | |
| 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "provider.triton" references: [] | |
| 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "output.external_network_id" references: [data.triton_network.external] | |
| 2018/05/20 17:00:38 [TRACE] Graph after step *terraform.ReferenceTransformer: | |
| data.triton_network.external - *terraform.NodeRefreshableDataResource | |
| provider.triton - *terraform.NodeApplyableProvider | |
| output.external_network_id - *terraform.NodeApplyableOutput | |
| data.triton_network.external - *terraform.NodeRefreshableDataResource | |
| provider.triton - *terraform.NodeApplyableProvider | |
| triton_machine.network-test4 - *terraform.NodeRefreshableManagedResource | |
| provider.triton - *terraform.NodeApplyableProvider | |
| 2018/05/20 17:00:38 [DEBUG] Attaching resource state to "data.triton_network.external": &terraform.ResourceState{Type:"triton_network", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420090730), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "data.triton_network.external" references: [] | |
| 2018/05/20 17:00:38 [TRACE] Graph after step *terraform.ReferenceTransformer: | |
| data.triton_network.external - *terraform.NodeRefreshableDataResourceInstance | |
| 2018/05/20 17:00:38 [TRACE] Graph after step *terraform.RootTransformer: | |
| data.triton_network.external - *terraform.NodeRefreshableDataResourceInstance | |
| 2018/05/20 17:00:38 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420090780), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| 2018/05/20 17:00:38 [TRACE] Graph after step *terraform.AttachStateTransformer: | |
| triton_machine.network-test4 - *terraform.NodeRefreshableManagedResourceInstance | |
| triton_machine.network-test4: Refreshing state... (ID: 3773107d-8396-e319-820f-f17448ecd7b3) | |
| data.triton_network.external: Refreshing state... | |
| 2018-05-20T17:00:38.143Z [DEBUG] plugin.terraform-provider-triton_v0.5.1_x4: 2018/05/20 17:00:38 [DEBUG] triton_network: Reading Network details. | |
| 2018-05-20T17:00:38.252Z [DEBUG] plugin.terraform-provider-triton_v0.5.1_x4: 2018/05/20 17:00:38 [DEBUG] triton_network: Found matching Network: &{Id:bedef3af-49b1-445c-b3ac-0b7f0112afcf Name:external Public:true Fabric:false Description: Subnet: ProvisioningStartIP: ProvisioningEndIP: Gateway: Resolvers:[] Routes:map[] InternetNAT:false} | |
| 2018/05/20 17:00:38 [INFO] backend/local: apply calling Plan | |
| 2018/05/20 17:00:38 [INFO] terraform: building graph: GraphTypePlan | |
| 2018/05/20 17:00:38 [DEBUG] Attaching resource state to "data.triton_network.external": &terraform.ResourceState{Type:"triton_network", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420320690), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| 2018/05/20 17:00:38 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4203206e0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| 2018/05/20 17:00:38 [DEBUG] resource data.triton_network.external using provider provider.triton | |
| 2018/05/20 17:00:38 [DEBUG] resource triton_machine.network-test4 using provider provider.triton | |
| 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "output.external_network_id" references: [data.triton_network.external] | |
| 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "provider.triton" references: [] | |
| 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "data.triton_network.external" references: [] | |
| 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "triton_machine.network-test4" references: [] | |
| 2018/05/20 17:00:38 [DEBUG] Starting graph walk: walkPlan | |
| 2018/05/20 17:00:38 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4203206e0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| 2018/05/20 17:00:38 [TRACE] Graph after step *terraform.AttachStateTransformer: | |
| triton_machine.network-test4 - *terraform.NodePlannableResourceInstance | |
| 2018/05/20 17:00:38 [TRACE] Graph after step *terraform.TargetsTransformer: | |
| triton_machine.network-test4 - *terraform.NodePlannableResourceInstance | |
| 2018/05/20 17:00:38 [DEBUG] ReferenceTransformer: "triton_machine.network-test4" references: [] | |
| 2018/05/20 17:00:38 [TRACE] Graph after step *terraform.ReferenceTransformer: | |
| triton_machine.network-test4 - *terraform.NodePlannableResourceInstance | |
| 2018/05/20 17:00:38 [TRACE] Graph after step *terraform.RootTransformer: | |
| triton_machine.network-test4 - *terraform.NodePlannableResourceInstance | |
| An execution plan has been generated and is shown below. | |
| Resource actions are indicated with the following symbols: | |
| ~ update in-place | |
| Terraform will perform the following actions: | |
| ~ triton_machine.network-test4 | |
| networks.#: "0" => "1" | |
| networks.0: "" => "bedef3af-49b1-445c-b3ac-0b7f0112afcf" | |
| Plan: 0 to add, 1 to change, 0 to destroy. | |
| 2018/05/20 17:00:38 [DEBUG] command: asking for input: "Do you want to perform these actions?" | |
| 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 | |
| 2018/05/20 17:00:40 [INFO] terraform: building graph: GraphTypeApply | |
| 2018/05/20 17:00:40 [DEBUG] Attaching resource state to "triton_machine.network-test4": &terraform.ResourceState{Type:"triton_machine", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420420f00), Deposed:[]*terraform.InstanceState{}, Provider:"provider.triton", mu:sync.Mutex{state:0, sema:0x0}} | |
| 2018/05/20 17:00:40 [TRACE] Graph after step *terraform.AttachStateTransformer: | |
| triton_machine.network-test4 - *terraform.NodeApplyableResource | |
| 2018/05/20 17:00:40 [DEBUG] resource triton_machine.network-test4 using provider provider.triton | |
| 2018/05/20 17:00:40 [DEBUG] ReferenceTransformer: "triton_machine.network-test4" references: [] | |
| 2018/05/20 17:00:40 [DEBUG] ReferenceTransformer: "provider.triton" references: [] | |
| 2018/05/20 17:00:40 [DEBUG] ReferenceTransformer: "output.external_network_id" references: [] | |
| 2018/05/20 17:00:40 [TRACE] Graph after step *terraform.ReferenceTransformer: | |
| output.external_network_id - *terraform.NodeApplyableOutput | |
| provider.triton - *terraform.NodeApplyableProvider | |
| triton_machine.network-test4 - *terraform.NodeApplyableResource | |
| provider.triton - *terraform.NodeApplyableProvider | |
| 2018/05/20 17:00:40 [DEBUG] Starting graph walk: walkApply | |
| triton_machine.network-test4: Modifying... (ID: 3773107d-8396-e319-820f-f17448ecd7b3) | |
| networks.#: "0" => "1" | |
| 2018/05/20 17:00:40 [DEBUG] apply: triton_machine.network-test4: executing Apply | |
| networks.0: "" => "bedef3af-49b1-445c-b3ac-0b7f0112afcf" | |
| 2018-05-20T17:00:40.428Z [DEBUG] plugin.terraform-provider-triton_v0.5.1_x4: 2018/05/20 17:00:40 [DEBUG] Adding NIC with Network bedef3af-49b1-445c-b3ac-0b7f0112afcf | |
| Error: Error applying plan: | |
| 1 error(s) occurred: | |
| * triton_machine.network-test4: 1 error(s) occurred: | |
| * triton_machine.network-test4: unable to add NIC to machine: unable to decode error response: EOF | |
| Terraform does not automatically rollback in the face of errors. | |
| 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. | |
| 2018/05/20 17:00:40 [DEBUG] plugin: waiting for all plugin processes to complete... | |
| 2018-05-20T17:00:40.737Z [DEBUG] plugin: plugin process exited: path=/root/terraform-triton2/.terraform/plugins/linux_amd64/terraform-provider-triton_v0.5.1_x4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment