Skip to content

Instantly share code, notes, and snippets.

@errygg
Created March 11, 2019 21:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save errygg/2d993c448b068a7cb5ca2c10bf4b4917 to your computer and use it in GitHub Desktop.
Save errygg/2d993c448b068a7cb5ca2c10bf4b4917 to your computer and use it in GitHub Desktop.
$ TF_LOG=DEBUG terraform plan
2019/03/11 15:50:53 [INFO] Terraform version: 0.12.0 beta1
2019/03/11 15:50:53 [INFO] Go runtime version: go1.11.5
2019/03/11 15:50:53 [INFO] CLI args: []string{"/usr/local/Cellar/tfenv/0.6.0/versions/0.12.0-beta1/terraform", "plan"}
2019/03/11 15:50:53 [DEBUG] Attempting to open CLI config file: /Users/erik/.terraformrc
2019/03/11 15:50:53 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/03/11 15:50:53 [INFO] CLI command args: []string{"plan"}
2019/03/11 15:50:53 [DEBUG] New state was assigned lineage "d12fd10b-53cf-3b62-e619-e3355899e575"
2019/03/11 15:50:53 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
2019/03/11 15:50:53 [TRACE] Meta.Backend: instantiated backend of type <nil>
2019/03/11 15:50:53 [DEBUG] checking for provider in "."
2019/03/11 15:50:53 [DEBUG] checking for provider in "/usr/local/Cellar/tfenv/0.6.0/versions/0.12.0-beta1"
2019/03/11 15:50:53 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64"
2019/03/11 15:50:53 [DEBUG] checking for provider in "/Users/erik/.terraform.d/plugins"
2019/03/11 15:50:53 [WARN] found legacy provider "terraform-provider-random"
2019/03/11 15:50:53 [DEBUG] found valid plugin: "random", "0.0.0", "/Users/erik/.terraform.d/plugins/terraform-provider-random"
2019/03/11 15:50:53 [DEBUG] checking for provisioner in "."
2019/03/11 15:50:53 [DEBUG] checking for provisioner in "/usr/local/Cellar/tfenv/0.6.0/versions/0.12.0-beta1"
2019/03/11 15:50:53 [DEBUG] checking for provisioner in ".terraform/plugins/darwin_amd64"
2019/03/11 15:50:53 [DEBUG] checking for provisioner in "/Users/erik/.terraform.d/plugins"
2019/03/11 15:50:53 [INFO] backend/local: starting Plan operation
2019-03-11T15:50:54.093-0600 [INFO] plugin: configuring client automatic mTLS
2019-03-11T15:50:54.130-0600 [DEBUG] plugin: starting plugin: path=/Users/erik/.terraform.d/plugins/terraform-provider-random args=[/Users/erik/.terraform.d/plugins/terraform-provider-random]
2019-03-11T15:50:54.133-0600 [DEBUG] plugin: plugin started: path=/Users/erik/.terraform.d/plugins/terraform-provider-random pid=41386
2019-03-11T15:50:54.133-0600 [DEBUG] plugin: waiting for RPC address: path=/Users/erik/.terraform.d/plugins/terraform-provider-random
2019-03-11T15:50:54.154-0600 [INFO] plugin.terraform-provider-random: configuring server automatic mTLS: timestamp=2019-03-11T15:50:54.154-0600
2019-03-11T15:50:54.181-0600 [DEBUG] plugin: using plugin: version=5
2019-03-11T15:50:54.181-0600 [DEBUG] plugin.terraform-provider-random: plugin address: network=unix address=/var/folders/vv/9h873jqd5vd1dx9brk1lmlxm0000gn/T/plugin955173105 timestamp=2019-03-11T15:50:54.180-0600
2019-03-11T15:50:56.259-0600 [WARN] plugin: plugin failed to exit gracefully
2019-03-11T15:50:56.262-0600 [DEBUG] plugin: plugin process exited: path=/Users/erik/.terraform.d/plugins/terraform-provider-random pid=41386 error="signal: killed"
2019/03/11 15:50:56 [TRACE] terraform.NewContext: complete
2019/03/11 15:50:56 [TRACE] backend/local: finished building terraform.Context
2019/03/11 15:50:56 [DEBUG] ReferenceTransformer: "var.mine_length" references: []
2019/03/11 15:50:56 [DEBUG] ReferenceTransformer: "provider.random" references: []
2019/03/11 15:50:56 [DEBUG] ReferenceTransformer: "random_pet.pet" references: [var.whose var.whose var.yours_length var.mine_length]
2019/03/11 15:50:56 [DEBUG] ReferenceTransformer: "output.pet_name" references: [random_pet.pet]
2019/03/11 15:50:56 [DEBUG] ReferenceTransformer: "var.whose" references: []
2019/03/11 15:50:56 [DEBUG] ReferenceTransformer: "var.yours_length" references: []
2019-03-11T15:50:56.277-0600 [INFO] plugin: configuring client automatic mTLS
2019-03-11T15:50:56.304-0600 [DEBUG] plugin: starting plugin: path=/Users/erik/.terraform.d/plugins/terraform-provider-random args=[/Users/erik/.terraform.d/plugins/terraform-provider-random]
2019-03-11T15:50:56.307-0600 [DEBUG] plugin: plugin started: path=/Users/erik/.terraform.d/plugins/terraform-provider-random pid=41387
2019-03-11T15:50:56.307-0600 [DEBUG] plugin: waiting for RPC address: path=/Users/erik/.terraform.d/plugins/terraform-provider-random
2019-03-11T15:50:56.329-0600 [INFO] plugin.terraform-provider-random: configuring server automatic mTLS: timestamp=2019-03-11T15:50:56.328-0600
2019-03-11T15:50:56.356-0600 [DEBUG] plugin.terraform-provider-random: plugin address: address=/var/folders/vv/9h873jqd5vd1dx9brk1lmlxm0000gn/T/plugin703632414 network=unix timestamp=2019-03-11T15:50:56.356-0600
2019-03-11T15:50:56.356-0600 [DEBUG] plugin: using plugin: version=5
2019/03/11 15:50:56 [ERR] Checkpoint error: Get https://checkpoint-api.hashicorp.com/v1/check/terraform?arch=amd64&os=darwin&signature=8b174a33-f5aa-e8a2-3f5c-038c0ce87b50&version=0.12.0-beta1: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
2019-03-11T15:50:58.427-0600 [WARN] plugin: plugin failed to exit gracefully
2019-03-11T15:50:58.430-0600 [DEBUG] plugin: plugin process exited: path=/Users/erik/.terraform.d/plugins/terraform-provider-random pid=41387 error="signal: killed"
2019/03/11 15:50:58 [INFO] backend/local: plan calling Refresh
2019/03/11 15:50:58 [INFO] terraform: building graph: GraphTypeRefresh
2019/03/11 15:50:58 [TRACE] No managed resources in state during refresh; skipping managed resource transformer
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
2019/03/11 15:50:58 [DEBUG] ReferenceTransformer: "var.mine_length" references: []
2019/03/11 15:50:58 [DEBUG] ReferenceTransformer: "output.pet_name" references: []
persisted to local or remote state storage.
2019/03/11 15:50:58 [DEBUG] ReferenceTransformer: "var.whose" references: []
2019/03/11 15:50:58 [DEBUG] ReferenceTransformer: "var.yours_length" references: []
2019/03/11 15:50:58 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes)
2019/03/11 15:50:58 [DEBUG] Starting graph walk: walkRefresh
2019/03/11 15:50:58 [INFO] backend/local: plan calling Plan
------------------------------------------------------------------------
2019/03/11 15:50:58 [INFO] terraform: building graph: GraphTypePlan
2019/03/11 15:50:58 [TRACE] Executing graph transform *terraform.ConfigTransformer
2019/03/11 15:50:58 [TRACE] ConfigTransformer: Starting for path:
2019/03/11 15:50:58 [TRACE] Completed graph transform *terraform.ConfigTransformer with new graph:
random_pet.pet - *terraform.NodePlannableResource
------
2019/03/11 15:50:58 [DEBUG] ReferenceTransformer: "random_pet.pet" references: [var.whose var.yours_length var.mine_length var.whose]
2019/03/11 15:50:58 [DEBUG] ReferenceTransformer: "output.pet_name" references: [random_pet.pet]
2019/03/11 15:50:58 [DEBUG] ReferenceTransformer: "var.whose" references: []
2019/03/11 15:50:58 [DEBUG] ReferenceTransformer: "var.yours_length" references: []
2019/03/11 15:50:58 [DEBUG] ReferenceTransformer: "var.mine_length" references: []
2019/03/11 15:50:58 [DEBUG] ReferenceTransformer: "provider.random" references: []
2019-03-11T15:50:58.441-0600 [INFO] plugin: configuring client automatic mTLS
2019-03-11T15:50:58.473-0600 [DEBUG] plugin: starting plugin: path=/Users/erik/.terraform.d/plugins/terraform-provider-random args=[/Users/erik/.terraform.d/plugins/terraform-provider-random]
2019-03-11T15:50:58.477-0600 [DEBUG] plugin: plugin started: path=/Users/erik/.terraform.d/plugins/terraform-provider-random pid=41388
2019-03-11T15:50:58.477-0600 [DEBUG] plugin: waiting for RPC address: path=/Users/erik/.terraform.d/plugins/terraform-provider-random
2019-03-11T15:50:58.498-0600 [INFO] plugin.terraform-provider-random: configuring server automatic mTLS: timestamp=2019-03-11T15:50:58.498-0600
2019-03-11T15:50:58.525-0600 [DEBUG] plugin: using plugin: version=5
2019-03-11T15:50:58.526-0600 [DEBUG] plugin.terraform-provider-random: plugin address: address=/var/folders/vv/9h873jqd5vd1dx9brk1lmlxm0000gn/T/plugin631073915 network=unix timestamp=2019-03-11T15:50:58.525-0600
2019/03/11 15:50:58 [DEBUG] Resource instance state not found for node "random_pet.pet", instance random_pet.pet
2019/03/11 15:50:58 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes)
2019/03/11 15:50:58 [DEBUG] ReferenceTransformer: "random_pet.pet" references: []
2019/03/11 15:50:58 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes)
2019/03/11 15:50:58 [TRACE] Executing graph transform *terraform.RootTransformer
2019/03/11 15:50:58 [TRACE] Completed graph transform *terraform.RootTransformer (no changes)
2019/03/11 15:50:58 [TRACE] vertex "random_pet.pet": entering dynamic subgraph
2019/03/11 15:50:58 [TRACE] dag/walk: updating graph
2019/03/11 15:50:58 [TRACE] dag/walk: added new vertex: "random_pet.pet"
2019/03/11 15:50:58 [ERROR] <root>: eval: *terraform.EvalDiff, err: Provider produced invalid plan: Provider "random" planned an invalid value for random_pet.pet.separator: planned value cty.StringVal("-") does not match config value cty.NullVal(cty.String).
This is a bug in the provider, which should be reported in the provider's own issue tracker.
2019/03/11 15:50:58 [ERROR] <root>: eval: *terraform.EvalSequence, err: Provider produced invalid plan: Provider "random" planned an invalid value for random_pet.pet.separator: planned value cty.StringVal("-") does not match config value cty.NullVal(cty.String).
This is a bug in the provider, which should be reported in the provider's own issue tracker.
2019/03/11 15:50:58 [TRACE] [walkPlan] Exiting eval tree: random_pet.pet
2019/03/11 15:50:58 [TRACE] vertex "random_pet.pet": visit complete
2019/03/11 15:50:58 [TRACE] vertex "random_pet.pet": dynamic subgraph encountered errors
2019/03/11 15:50:58 [INFO] backend/local: plan operation completed
Error: Provider produced invalid plan
Provider "random" planned an invalid value for random_pet.pet.separator:
planned value cty.StringVal("-") does not match config value
cty.NullVal(cty.String).
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
2019-03-11T15:51:00.594-0600 [WARN] plugin: plugin failed to exit gracefully
2019-03-11T15:51:00.597-0600 [DEBUG] plugin: plugin process exited: path=/Users/erik/.terraform.d/plugins/terraform-provider-random pid=41388 error="signal: killed"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment