Skip to content

Instantly share code, notes, and snippets.

@Vlad1mir-D
Created March 18, 2021 13:47
Show Gist options
  • Save Vlad1mir-D/62cb918fa36054869c5c70c4101d9f94 to your computer and use it in GitHub Desktop.
Save Vlad1mir-D/62cb918fa36054869c5c70c4101d9f94 to your computer and use it in GitHub Desktop.
2021/03/18 16:46:48 [INFO] Terraform version: 0.14.8
2021/03/18 16:46:48 [INFO] Go runtime version: go1.15.6
2021/03/18 16:46:48 [INFO] CLI args: []string{"/home/User/soft/tfenv/versions/0.14.8/terraform", "plan"}
2021/03/18 16:46:48 [DEBUG] Attempting to open CLI config file: /home/User/.terraformrc
2021/03/18 16:46:48 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021/03/18 16:46:48 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021/03/18 16:46:48 [DEBUG] ignoring non-existing provider search directory /home/User/.terraform.d/plugins
2021/03/18 16:46:48 [DEBUG] ignoring non-existing provider search directory /home/User/.local/share/terraform/plugins
2021/03/18 16:46:48 [DEBUG] ignoring non-existing provider search directory /home/User/.local/share/flatpak/exports/share/terraform/plugins
2021/03/18 16:46:48 [DEBUG] ignoring non-existing provider search directory /var/lib/flatpak/exports/share/terraform/plugins
2021/03/18 16:46:48 [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins
2021/03/18 16:46:48 [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins
2021/03/18 16:46:48 [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins
2021/03/18 16:46:48 [INFO] CLI command args: []string{"plan"}
2021/03/18 16:46:48 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config
2021/03/18 16:46:48 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory
2021/03/18 16:46:48 [DEBUG] New state was assigned lineage "9fc79bd4-5639-e026-ca85-8fb249ad0ed1"
2021/03/18 16:46:48 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
2021/03/18 16:46:48 [TRACE] Meta.Backend: instantiated backend of type <nil>
2021/03/18 16:46:48 [DEBUG] checking for provisioner in "."
2021/03/18 16:46:48 [DEBUG] checking for provisioner in "/home/User/soft/tfenv/versions/0.14.8"
2021/03/18 16:46:48 [INFO] Failed to read plugin lock file .terraform/plugins/linux_amd64/lock.json: open .terraform/plugins/linux_amd64/lock.json: no such file or directory
2021/03/18 16:46:48 [TRACE] Meta.Backend: backend <nil> does not support operations, so wrapping it in a local backend
2021/03/18 16:46:48 [INFO] backend/local: starting Plan operation
2021/03/18 16:46:48 [TRACE] backend/local: requesting state manager for workspace "default"
2021/03/18 16:46:48 [TRACE] backend/local: state manager for workspace "default" will:
- read initial snapshot from terraform.tfstate
- write new snapshots to terraform.tfstate
- create any backup at terraform.tfstate.backup
2021/03/18 16:46:48 [TRACE] backend/local: requesting state lock for workspace "default"
2021/03/18 16:46:48 [TRACE] statemgr.Filesystem: preparing to manage state snapshots at terraform.tfstate
2021/03/18 16:46:48 [TRACE] statemgr.Filesystem: no previously-stored snapshot exists
2021/03/18 16:46:48 [TRACE] statemgr.Filesystem: locking terraform.tfstate using fcntl flock
2021/03/18 16:46:48 [TRACE] statemgr.Filesystem: writing lock metadata to .terraform.tfstate.lock.info
2021/03/18 16:46:48 [TRACE] backend/local: reading remote state for workspace "default"
2021/03/18 16:46:48 [TRACE] statemgr.Filesystem: reading latest snapshot from terraform.tfstate
2021/03/18 16:46:48 [TRACE] statemgr.Filesystem: snapshot file has nil snapshot, but that's okay
2021/03/18 16:46:48 [TRACE] statemgr.Filesystem: read nil snapshot
2021/03/18 16:46:48 [TRACE] backend/local: retrieving local state snapshot for workspace "default"
2021/03/18 16:46:48 [TRACE] backend/local: building context for current working directory
2021/03/18 16:46:48 [TRACE] terraform.NewContext: starting
2021/03/18 16:46:48 [TRACE] terraform.NewContext: loading provider schemas
2021/03/18 16:46:48 [TRACE] terraform.NewContext: complete
2021/03/18 16:46:48 [TRACE] backend/local: finished building terraform.Context
2021/03/18 16:46:48 [TRACE] backend/local: requesting interactive input, if necessary
2021/03/18 16:46:48 [TRACE] Context.Input: Prompting for provider arguments
2021/03/18 16:46:48 [TRACE] backend/local: running validation operation
2021/03/18 16:46:48 [INFO] terraform: building graph: GraphTypeValidate
2021/03/18 16:46:48 [TRACE] Executing graph transform *terraform.ConfigTransformer
2021/03/18 16:46:48 [TRACE] ConfigTransformer: Starting for path:
2021/03/18 16:46:48 [TRACE] Completed graph transform *terraform.ConfigTransformer (no changes)
2021/03/18 16:46:48 [TRACE] Executing graph transform *terraform.RootVariableTransformer
2021/03/18 16:46:48 [TRACE] Completed graph transform *terraform.RootVariableTransformer (no changes)
2021/03/18 16:46:48 [TRACE] Executing graph transform *terraform.ModuleVariableTransformer
2021/03/18 16:46:48 [TRACE] Completed graph transform *terraform.ModuleVariableTransformer (no changes)
2021/03/18 16:46:48 [TRACE] Executing graph transform *terraform.LocalTransformer
2021/03/18 16:46:48 [TRACE] Completed graph transform *terraform.LocalTransformer with new graph:
local.a (expand) - *terraform.nodeExpandLocal
------
2021/03/18 16:46:48 [TRACE] Executing graph transform *terraform.OutputTransformer
2021/03/18 16:46:48 [TRACE] Completed graph transform *terraform.OutputTransformer (no changes)
2021/03/18 16:46:48 [TRACE] Executing graph transform *terraform.OrphanResourceInstanceTransformer
2021/03/18 16:46:48 [TRACE] Completed graph transform *terraform.OrphanResourceInstanceTransformer (no changes)
2021/03/18 16:46:48 [TRACE] Executing graph transform *terraform.StateTransformer
2021/03/18 16:46:48 [TRACE] StateTransformer: state is empty, so nothing to do
2021/03/18 16:46:48 [TRACE] Completed graph transform *terraform.StateTransformer (no changes)
2021/03/18 16:46:48 [TRACE] Executing graph transform *terraform.AttachStateTransformer
2021/03/18 16:46:48 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes)
2021/03/18 16:46:48 [TRACE] Executing graph transform *terraform.OrphanOutputTransformer
2021/03/18 16:46:48 [TRACE] Completed graph transform *terraform.OrphanOutputTransformer (no changes)
2021/03/18 16:46:48 [TRACE] Executing graph transform *terraform.AttachResourceConfigTransformer
2021/03/18 16:46:48 [TRACE] Completed graph transform *terraform.AttachResourceConfigTransformer (no changes)
2021/03/18 16:46:48 [TRACE] Executing graph transform *terraform.MissingProvisionerTransformer
2021/03/18 16:46:48 [TRACE] Completed graph transform *terraform.MissingProvisionerTransformer (no changes)
2021/03/18 16:46:48 [TRACE] Executing graph transform *terraform.ProvisionerTransformer
2021/03/18 16:46:48 [TRACE] Completed graph transform *terraform.ProvisionerTransformer (no changes)
2021/03/18 16:46:48 [TRACE] Executing graph transform *terraform.graphTransformerMulti
2021/03/18 16:46:48 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderConfigTransformer
2021/03/18 16:46:48 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderConfigTransformer with new graph:
local.a (expand) - *terraform.nodeExpandLocal
------
2021/03/18 16:46:48 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.MissingProviderTransformer
2021/03/18 16:46:48 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.MissingProviderTransformer (no changes)
2021/03/18 16:46:48 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderTransformer
2021/03/18 16:46:48 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderTransformer (no changes)
2021/03/18 16:46:48 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.PruneProviderTransformer
2021/03/18 16:46:48 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.PruneProviderTransformer (no changes)
2021/03/18 16:46:48 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ParentProviderTransformer
2021/03/18 16:46:48 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ParentProviderTransformer (no changes)
2021/03/18 16:46:48 [TRACE] Completed graph transform *terraform.graphTransformerMulti (no changes)
2021/03/18 16:46:48 [TRACE] Executing graph transform *terraform.RemovedModuleTransformer
2021/03/18 16:46:48 [TRACE] Completed graph transform *terraform.RemovedModuleTransformer (no changes)
2021/03/18 16:46:48 [TRACE] Executing graph transform *terraform.AttachSchemaTransformer
2021/03/18 16:46:48 [TRACE] Completed graph transform *terraform.AttachSchemaTransformer (no changes)
2021/03/18 16:46:48 [TRACE] Executing graph transform *terraform.ModuleExpansionTransformer
2021/03/18 16:46:48 [TRACE] Completed graph transform *terraform.ModuleExpansionTransformer (no changes)
2021/03/18 16:46:48 [TRACE] Executing graph transform *terraform.ReferenceTransformer
2021/03/18 16:46:48 [DEBUG] ReferenceTransformer: "local.a (expand)" references: []
2021/03/18 16:46:48 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes)
2021/03/18 16:46:48 [TRACE] Executing graph transform *terraform.AttachDependenciesTransformer
2021/03/18 16:46:48 [TRACE] Completed graph transform *terraform.AttachDependenciesTransformer (no changes)
2021/03/18 16:46:48 [TRACE] Executing graph transform *terraform.attachDataResourceDependenciesTransformer
2021/03/18 16:46:48 [TRACE] Completed graph transform *terraform.attachDataResourceDependenciesTransformer (no changes)
2021/03/18 16:46:48 [TRACE] Executing graph transform *terraform.TargetsTransformer
2021/03/18 16:46:48 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes)
2021/03/18 16:46:48 [TRACE] Executing graph transform *terraform.ForcedCBDTransformer
2021/03/18 16:46:48 [TRACE] Completed graph transform *terraform.ForcedCBDTransformer (no changes)
2021/03/18 16:46:48 [TRACE] Executing graph transform *terraform.CountBoundaryTransformer
2021/03/18 16:46:48 [TRACE] Completed graph transform *terraform.CountBoundaryTransformer with new graph:
local.a (expand) - *terraform.nodeExpandLocal
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
local.a (expand) - *terraform.nodeExpandLocal
------
2021/03/18 16:46:48 [TRACE] Executing graph transform *terraform.CloseProviderTransformer
2021/03/18 16:46:48 [TRACE] Completed graph transform *terraform.CloseProviderTransformer (no changes)
2021/03/18 16:46:48 [TRACE] Executing graph transform *terraform.CloseRootModuleTransformer
2021/03/18 16:46:48 [TRACE] Completed graph transform *terraform.CloseRootModuleTransformer with new graph:
local.a (expand) - *terraform.nodeExpandLocal
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
local.a (expand) - *terraform.nodeExpandLocal
root - *terraform.nodeCloseModule
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
------
2021/03/18 16:46:48 [TRACE] Executing graph transform *terraform.TransitiveReductionTransformer
2021/03/18 16:46:48 [TRACE] Completed graph transform *terraform.TransitiveReductionTransformer (no changes)
2021/03/18 16:46:48 [DEBUG] Starting graph walk: walkValidate
2021/03/18 16:46:48 [TRACE] dag/walk: visiting "local.a (expand)"
2021/03/18 16:46:48 [TRACE] vertex "local.a (expand)": starting visit (*terraform.nodeExpandLocal)
2021/03/18 16:46:48 [TRACE] vertex "local.a (expand)": expanding dynamic subgraph
2021/03/18 16:46:48 [TRACE] Expanding local: adding local.a as *terraform.NodeLocal
2021/03/18 16:46:48 [TRACE] vertex "local.a (expand)": entering dynamic subgraph
2021/03/18 16:46:48 [TRACE] dag/walk: visiting "local.a"
2021/03/18 16:46:48 [TRACE] vertex "local.a": starting visit (*terraform.NodeLocal)
2021/03/18 16:46:48 [TRACE] vertex "local.a": visit complete
panic: inconsistent list element types (cty.Object(map[string]cty.Type{"a":cty.DynamicPseudoType}) then cty.Object(map[string]cty.Type{"a":cty.EmptyTuple}))
goroutine 42 [running]:
github.com/zclconf/go-cty/cty.ListVal(0xc0006b25c0, 0x2, 0x2, 0xc0004db9f0, 0x1, 0x1, 0x1)
/go/pkg/mod/github.com/zclconf/[email protected]/cty/value_init.go:166 +0x5a8
github.com/zclconf/go-cty/cty/convert.conversionTupleToList.func2(0x2cea520, 0xc0006aff20, 0x238cda0, 0xc0006aff40, 0x0, 0x0, 0x0, 0x2ca9a60, 0xc0006affe0, 0x2cea3a0, ...)
/go/pkg/mod/github.com/zclconf/[email protected]/cty/convert/conversion_collection.go:327 +0x794
github.com/zclconf/go-cty/cty/convert.getConversion.func1(0x2cea520, 0xc0006aff20, 0x238cda0, 0xc0006aff40, 0x0, 0x0, 0x0, 0x23a6960, 0x3cab148, 0x2cea3a0, ...)
/go/pkg/mod/github.com/zclconf/[email protected]/cty/convert/conversion.go:46 +0x433
github.com/zclconf/go-cty/cty/convert.retConversion.func1(0x2cea520, 0xc0006aff20, 0x238cda0, 0xc0006aff40, 0x0, 0x0, 0x23a6960, 0x3cab140, 0xc0005d68d0, 0x3cab140)
/go/pkg/mod/github.com/zclconf/[email protected]/cty/convert/conversion.go:188 +0x6b
github.com/hashicorp/hcl/v2/hclsyntax.(*ConditionalExpr).Value(0xc0001c2d20, 0xc0006afe40, 0x0, 0xc0005ad800, 0x1, 0x1, 0x0, 0x0, 0x0)
/go/pkg/mod/github.com/hashicorp/hcl/[email protected]/hclsyntax/expression.go:660 +0x16c2
github.com/hashicorp/terraform/lang.(*Scope).EvalExpr(0xc0006b82d0, 0x2ce8ee0, 0xc0001c2d20, 0x2cea3e0, 0x3dff7e0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/circleci/project/project/lang/eval.go:171 +0x1b7
github.com/hashicorp/terraform/terraform.(*BuiltinEvalContext).EvaluateExpr(0xc0005b5c70, 0x2ce8ee0, 0xc0001c2d20, 0x2cea3e0, 0x3dff7e0, 0x0, 0x0, 0x0, 0x200000003, 0xc000642900, ...)
/home/circleci/project/project/terraform/eval_context_builtin.go:287 +0xbb
github.com/hashicorp/terraform/terraform.(*NodeLocal).Execute(0xc00059fb00, 0x2d26180, 0xc0005b5c70, 0x3dff704, 0x0, 0x0)
/home/circleci/project/project/terraform/node_local.go:156 +0x71d
github.com/hashicorp/terraform/terraform.(*ContextGraphWalker).Execute(0xc0005b5380, 0x2d26180, 0xc0005b5c70, 0x7f4bb88445c8, 0xc00059fb00, 0x0, 0x0, 0x0)
/home/circleci/project/project/terraform/graph_walk_context.go:127 +0xbc
github.com/hashicorp/terraform/terraform.(*Graph).walk.func1(0x2692680, 0xc00059fb00, 0x0, 0x0, 0x0)
/home/circleci/project/project/terraform/graph.go:59 +0x962
github.com/hashicorp/terraform/dag.(*Walker).walkVertex(0xc0000af6e0, 0x2692680, 0xc00059fb00, 0xc0006b2480)
/home/circleci/project/project/dag/walk.go:387 +0x375
created by github.com/hashicorp/terraform/dag.(*Walker).Update
/home/circleci/project/project/dag/walk.go:309 +0x1246
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment