Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save JanBerktold/cc66903f5a30d118be34da42ca727851 to your computer and use it in GitHub Desktop.
Save JanBerktold/cc66903f5a30d118be34da42ca727851 to your computer and use it in GitHub Desktop.
2019/07/19 07:50:12 [INFO] Terraform version: 0.12.4
2019/07/19 07:50:12 [INFO] Go runtime version: go1.12.7
2019/07/19 07:50:12 [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply", "--auto-approve"}
2019/07/19 07:50:12 [DEBUG] Attempting to open CLI config file: /Users/jberktold/.terraformrc
2019/07/19 07:50:12 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/07/19 07:50:12 [INFO] CLI command args: []string{"apply", "--auto-approve"}
2019/07/19 07:50:12 [DEBUG] New state was assigned lineage "0cf2becd-8e54-c22a-b747-68cdd3a40784"
2019/07/19 07:50:12 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
2019/07/19 07:50:12 [DEBUG] checking for provider in "."
2019/07/19 07:50:12 [DEBUG] checking for provider in "/usr/local/bin"
2019/07/19 07:50:12 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64"
2019/07/19 07:50:12 [DEBUG] found provider "terraform-provider-nomad_v1.4.0_x4"
2019/07/19 07:50:12 [DEBUG] found valid plugin: "nomad", "1.4.0", "/Users/jberktold/Desktop/terraform-repo/.terraform/plugins/darwin_amd64/terraform-provider-nomad_v1.4.0_x4"
2019/07/19 07:50:12 [DEBUG] checking for provisioner in "."
2019/07/19 07:50:12 [DEBUG] checking for provisioner in "/usr/local/bin"
2019/07/19 07:50:12 [DEBUG] checking for provisioner in ".terraform/plugins/darwin_amd64"
2019/07/19 07:50:12 [INFO] backend/local: starting Apply operation
2019-07-19T07:50:12.667-0700 [INFO] plugin: configuring client automatic mTLS
2019-07-19T07:50:12.697-0700 [DEBUG] plugin: starting plugin: path=/Users/jberktold/Desktop/terraform-repo/.terraform/plugins/darwin_amd64/terraform-provider-nomad_v1.4.0_x4 args=[/Users/jberktold/Desktop/terraform-repo/.terraform/plugins/darwin_amd64/terraform-provider-nomad_v1.4.0_x4]
2019-07-19T07:50:12.701-0700 [DEBUG] plugin: plugin started: path=/Users/jberktold/Desktop/terraform-repo/.terraform/plugins/darwin_amd64/terraform-provider-nomad_v1.4.0_x4 pid=85563
2019-07-19T07:50:12.701-0700 [DEBUG] plugin: waiting for RPC address: path=/Users/jberktold/Desktop/terraform-repo/.terraform/plugins/darwin_amd64/terraform-provider-nomad_v1.4.0_x4
2019-07-19T07:50:12.709-0700 [INFO] plugin.terraform-provider-nomad_v1.4.0_x4: configuring server automatic mTLS: timestamp=2019-07-19T07:50:12.709-0700
2019-07-19T07:50:12.739-0700 [DEBUG] plugin: using plugin: version=5
2019-07-19T07:50:12.739-0700 [DEBUG] plugin.terraform-provider-nomad_v1.4.0_x4: plugin address: address=/var/folders/mv/_cs3rpgx453glljqg46rdbm00000gp/T/plugin539814886 network=unix timestamp=2019-07-19T07:50:12.739-0700
2019-07-19T07:50:12.798-0700 [DEBUG] plugin: plugin process exited: path=/Users/jberktold/Desktop/terraform-repo/.terraform/plugins/darwin_amd64/terraform-provider-nomad_v1.4.0_x4 pid=85563
2019-07-19T07:50:12.798-0700 [DEBUG] plugin: plugin exited
2019/07/19 07:50:12 [INFO] terraform: building graph: GraphTypeValidate
2019/07/19 07:50:12 [DEBUG] adding implicit provider configuration provider.nomad, implied first by nomad_job.memcached-job
2019/07/19 07:50:12 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.MissingProviderTransformer with new graph:
nomad_job.memcached-job - *terraform.NodeValidatableResource
provider.nomad - *terraform.NodeApplyableProvider
------
2019/07/19 07:50:12 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderTransformer
2019/07/19 07:50:12 [TRACE] ProviderTransformer: nomad_job.memcached-job is provided by provider.nomad or inherited equivalent
2019/07/19 07:50:12 [TRACE] ProviderTransformer: exact match for provider.nomad serving nomad_job.memcached-job
2019/07/19 07:50:12 [DEBUG] ProviderTransformer: "nomad_job.memcached-job" (*terraform.NodeValidatableResource) needs provider.nomad
2019/07/19 07:50:12 [DEBUG] ReferenceTransformer: "nomad_job.memcached-job" references: []
2019/07/19 07:50:12 [DEBUG] ReferenceTransformer: "provider.nomad" references: []
2019/07/19 07:50:12 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes)
2019/07/19 07:50:12 [TRACE] Executing graph transform *terraform.CountBoundaryTransformer
2019-07-19T07:50:12.799-0700 [INFO] plugin: configuring client automatic mTLS
2019-07-19T07:50:12.826-0700 [DEBUG] plugin: starting plugin: path=/Users/jberktold/Desktop/terraform-repo/.terraform/plugins/darwin_amd64/terraform-provider-nomad_v1.4.0_x4 args=[/Users/jberktold/Desktop/terraform-repo/.terraform/plugins/darwin_amd64/terraform-provider-nomad_v1.4.0_x4]
2019-07-19T07:50:12.830-0700 [DEBUG] plugin: plugin started: path=/Users/jberktold/Desktop/terraform-repo/.terraform/plugins/darwin_amd64/terraform-provider-nomad_v1.4.0_x4 pid=85564
2019-07-19T07:50:12.830-0700 [DEBUG] plugin: waiting for RPC address: path=/Users/jberktold/Desktop/terraform-repo/.terraform/plugins/darwin_amd64/terraform-provider-nomad_v1.4.0_x4
2019-07-19T07:50:12.839-0700 [INFO] plugin.terraform-provider-nomad_v1.4.0_x4: configuring server automatic mTLS: timestamp=2019-07-19T07:50:12.838-0700
2019-07-19T07:50:12.870-0700 [DEBUG] plugin: using plugin: version=5
2019-07-19T07:50:12.870-0700 [DEBUG] plugin.terraform-provider-nomad_v1.4.0_x4: plugin address: address=/var/folders/mv/_cs3rpgx453glljqg46rdbm00000gp/T/plugin936928675 network=unix timestamp=2019-07-19T07:50:12.870-0700
2019-07-19T07:50:12.938-0700 [DEBUG] plugin: plugin process exited: path=/Users/jberktold/Desktop/terraform-repo/.terraform/plugins/darwin_amd64/terraform-provider-nomad_v1.4.0_x4 pid=85564
2019-07-19T07:50:12.938-0700 [DEBUG] plugin: plugin exited
2019/07/19 07:50:12 [INFO] backend/local: apply calling Refresh
2019/07/19 07:50:12 [INFO] terraform: building graph: GraphTypeRefresh
2019/07/19 07:50:12 [INFO] backend/local: apply calling Plan
2019/07/19 07:50:12 [INFO] terraform: building graph: GraphTypePlan
2019/07/19 07:50:12 [DEBUG] ReferenceTransformer: "nomad_job.memcached-job" references: []
2019/07/19 07:50:12 [DEBUG] ReferenceTransformer: "provider.nomad" references: []
2019-07-19T07:50:12.940-0700 [INFO] plugin: configuring client automatic mTLS
2019-07-19T07:50:12.969-0700 [DEBUG] plugin: starting plugin: path=/Users/jberktold/Desktop/terraform-repo/.terraform/plugins/darwin_amd64/terraform-provider-nomad_v1.4.0_x4 args=[/Users/jberktold/Desktop/terraform-repo/.terraform/plugins/darwin_amd64/terraform-provider-nomad_v1.4.0_x4]
2019-07-19T07:50:12.972-0700 [DEBUG] plugin: plugin started: path=/Users/jberktold/Desktop/terraform-repo/.terraform/plugins/darwin_amd64/terraform-provider-nomad_v1.4.0_x4 pid=85565
2019-07-19T07:50:12.972-0700 [DEBUG] plugin: waiting for RPC address: path=/Users/jberktold/Desktop/terraform-repo/.terraform/plugins/darwin_amd64/terraform-provider-nomad_v1.4.0_x4
2019-07-19T07:50:12.985-0700 [INFO] plugin.terraform-provider-nomad_v1.4.0_x4: configuring server automatic mTLS: timestamp=2019-07-19T07:50:12.985-0700
2019-07-19T07:50:13.017-0700 [DEBUG] plugin: using plugin: version=5
2019-07-19T07:50:13.017-0700 [DEBUG] plugin.terraform-provider-nomad_v1.4.0_x4: plugin address: address=/var/folders/mv/_cs3rpgx453glljqg46rdbm00000gp/T/plugin973505920 network=unix timestamp=2019-07-19T07:50:13.017-0700
2019/07/19 07:50:13 [DEBUG] ReferenceTransformer: "nomad_job.memcached-job" references: []
2019/07/19 07:50:13 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes)
2019/07/19 07:50:13 [TRACE] Executing graph transform *terraform.RootTransformer
2019/07/19 07:50:13 [TRACE] Completed graph transform *terraform.RootTransformer (no changes)
2019/07/19 07:50:13 [TRACE] vertex "nomad_job.memcached-job": entering dynamic subgraph
2019/07/19 07:50:13 [TRACE] dag/walk: updating graph
2019-07-19T07:50:14.021-0700 [DEBUG] plugin.terraform-provider-nomad_v1.4.0_x4: 2019/07/19 07:50:14 [DEBUG] name change forces new resource because deregister_on_id_change is set
2019/07/19 07:50:14 [WARN] Provider "nomad" produced an invalid plan for nomad_job.memcached-job, but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .detach: planned value cty.True does not match config value cty.NullVal(cty.Bool)
- .deregister_on_destroy: planned value cty.True does not match config value cty.NullVal(cty.Bool)
- .deregister_on_id_change: planned value cty.True does not match config value cty.NullVal(cty.Bool)
2019/07/19 07:50:14 [TRACE] <root>: eval: *terraform.EvalCheckPreventDestroy
2019/07/19 07:50:14 [TRACE] <root>: eval: *terraform.EvalWriteState
2019-07-19T07:50:14.024-0700 [DEBUG] plugin: plugin process exited: path=/Users/jberktold/Desktop/terraform-repo/.terraform/plugins/darwin_amd64/terraform-provider-nomad_v1.4.0_x4 pid=85565
2019-07-19T07:50:14.024-0700 [DEBUG] plugin: plugin exited
2019/07/19 07:50:14 [INFO] backend/local: apply calling Apply
2019/07/19 07:50:14 [INFO] terraform: building graph: GraphTypeApply
2019/07/19 07:50:14 [DEBUG] adding implicit provider configuration provider.nomad, implied first by nomad_job.memcached-job (prepare state)
2019/07/19 07:50:14 [DEBUG] ProviderTransformer: "nomad_job.memcached-job" (*terraform.NodeApplyableResourceInstance) needs provider.nomad
2019/07/19 07:50:14 [TRACE] ProviderTransformer: exact match for provider.nomad serving nomad_job.memcached-job (prepare state)
2019/07/19 07:50:14 [DEBUG] ProviderTransformer: "nomad_job.memcached-job (prepare state)" (*terraform.NodeApplyableResource) needs provider.nomad
2019/07/19 07:50:14 [DEBUG] ReferenceTransformer: "nomad_job.memcached-job (prepare state)" references: []
2019/07/19 07:50:14 [DEBUG] ReferenceTransformer: "nomad_job.memcached-job" references: []
2019/07/19 07:50:14 [DEBUG] ReferenceTransformer: "provider.nomad" references: []
2019/07/19 07:50:14 [DEBUG] Starting graph walk: walkApply
2019/07/19 07:50:14 [TRACE] dag/walk: updating graph
2019-07-19T07:50:14.026-0700 [INFO] plugin: configuring client automatic mTLS
2019-07-19T07:50:14.054-0700 [DEBUG] plugin: starting plugin: path=/Users/jberktold/Desktop/terraform-repo/.terraform/plugins/darwin_amd64/terraform-provider-nomad_v1.4.0_x4 args=[/Users/jberktold/Desktop/terraform-repo/.terraform/plugins/darwin_amd64/terraform-provider-nomad_v1.4.0_x4]
2019-07-19T07:50:14.058-0700 [DEBUG] plugin: plugin started: path=/Users/jberktold/Desktop/terraform-repo/.terraform/plugins/darwin_amd64/terraform-provider-nomad_v1.4.0_x4 pid=85569
2019-07-19T07:50:14.058-0700 [DEBUG] plugin: waiting for RPC address: path=/Users/jberktold/Desktop/terraform-repo/.terraform/plugins/darwin_amd64/terraform-provider-nomad_v1.4.0_x4
2019-07-19T07:50:14.067-0700 [INFO] plugin.terraform-provider-nomad_v1.4.0_x4: configuring server automatic mTLS: timestamp=2019-07-19T07:50:14.067-0700
2019-07-19T07:50:14.099-0700 [DEBUG] plugin: using plugin: version=5
2019-07-19T07:50:14.099-0700 [DEBUG] plugin.terraform-provider-nomad_v1.4.0_x4: plugin address: address=/var/folders/mv/_cs3rpgx453glljqg46rdbm00000gp/T/plugin236368820 network=unix timestamp=2019-07-19T07:50:14.099-0700
2019-07-19T07:50:15.099-0700 [DEBUG] plugin.terraform-provider-nomad_v1.4.0_x4: 2019/07/19 07:50:15 [DEBUG] name change forces new resource because deregister_on_id_change is set
2019/07/19 07:50:15 [WARN] Provider "nomad" produced an invalid plan for nomad_job.memcached-job, but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .deregister_on_destroy: planned value cty.True does not match config value cty.NullVal(cty.Bool)
- .deregister_on_id_change: planned value cty.True does not match config value cty.NullVal(cty.Bool)
- .detach: planned value cty.True does not match config value cty.NullVal(cty.Bool)
2019/07/19 07:50:15 [TRACE] <root>: eval: *terraform.EvalCheckPlannedChange
nomad_job.memcached-job: Creating...
2019/07/19 07:50:15 [DEBUG] nomad_job.memcached-job: applying the planned Create change
2019/07/19 07:50:15 [TRACE] GRPCProvider: ApplyResourceChange
2019-07-19T07:50:15.102-0700 [DEBUG] plugin.terraform-provider-nomad_v1.4.0_x4: 2019/07/19 07:50:15 [DEBUG] setting computed for "task_groups.0.task.0.meta" from ComputedKeys
2019-07-19T07:50:15.102-0700 [DEBUG] plugin.terraform-provider-nomad_v1.4.0_x4: 2019/07/19 07:50:15 [DEBUG] setting computed for "task_groups.0.meta" from ComputedKeys
2019-07-19T07:50:15.102-0700 [DEBUG] plugin.terraform-provider-nomad_v1.4.0_x4: 2019/07/19 07:50:15 [DEBUG] setting computed for "task_groups.0.task.0.meta" from ComputedKeys
2019-07-19T07:50:15.102-0700 [DEBUG] plugin.terraform-provider-nomad_v1.4.0_x4: 2019/07/19 07:50:15 [DEBUG] setting computed for "task_groups.0.task.0.meta" from ComputedKeys
2019-07-19T07:50:15.102-0700 [DEBUG] plugin.terraform-provider-nomad_v1.4.0_x4: 2019/07/19 07:50:15 [DEBUG] setting computed for "task_groups.0.meta" from ComputedKeys
2019-07-19T07:50:15.102-0700 [DEBUG] plugin.terraform-provider-nomad_v1.4.0_x4: 2019/07/19 07:50:15 [DEBUG] setting computed for "allocation_ids" from ComputedKeys
2019-07-19T07:50:15.938-0700 [DEBUG] plugin.terraform-provider-nomad_v1.4.0_x4: 2019/07/19 07:50:15 [DEBUG] job 'testing-job' registered
2019-07-19T07:50:15.938-0700 [DEBUG] plugin.terraform-provider-nomad_v1.4.0_x4: 2019/07/19 07:50:15 [DEBUG] reading information for job "testing-job"
2019-07-19T07:50:16.766-0700 [DEBUG] plugin.terraform-provider-nomad_v1.4.0_x4: 2019/07/19 07:50:16 [DEBUG] job "testing-job" does not exist, so removing
2019/07/19 07:50:16 [DEBUG] nomad_job.memcached-job: apply errored, but we're indicating that via the Error pointer rather than returning it: Provider produced inconsistent result after apply: When applying changes to nomad_job.memcached-job, provider "nomad" produced an unexpected new value for was present, but now absent.
This is a bug in the provider, which should be reported in the provider's own issue tracker.
2019/07/19 07:50:16 [TRACE] <root>: eval: *terraform.EvalMaybeTainted
2019/07/19 07:50:16 [TRACE] EvalMaybeTainted: nomad_job.memcached-job encountered an error during creation, so it is now marked as tainted
2019/07/19 07:50:16 [TRACE] <root>: eval: *terraform.EvalWriteState
2019/07/19 07:50:16 [ERROR] <root>: eval: *terraform.EvalSequence, err: Provider produced inconsistent result after apply: When applying changes to nomad_job.memcached-job, provider "nomad" produced an unexpected new value for was present, but now absent.
This is a bug in the provider, which should be reported in the provider's own issue tracker.
2019/07/19 07:50:16 [TRACE] [walkApply] Exiting eval tree: nomad_job.memcached-job
2019/07/19 07:50:16 [TRACE] vertex "nomad_job.memcached-job": visit complete
Error: Provider produced inconsistent result after apply
When applying changes to nomad_job.memcached-job, provider "nomad" produced an
unexpected new value for was present, but now absent.
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
2019-07-19T07:50:16.784-0700 [DEBUG] plugin: plugin process exited: path=/Users/jberktold/Desktop/terraform-repo/.terraform/plugins/darwin_amd64/terraform-provider-nomad_v1.4.0_x4 pid=85569
2019-07-19T07:50:16.784-0700 [DEBUG] plugin: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment