Skip to content

Instantly share code, notes, and snippets.

@gregmark
Created June 17, 2022 23:35
Show Gist options
  • Save gregmark/5f85a24e5688406eee5f9c9b614d2a4d to your computer and use it in GitHub Desktop.
Save gregmark/5f85a24e5688406eee5f9c9b614d2a4d to your computer and use it in GitHub Desktop.
Terraform v1.2.3 crash.log on import
2022-06-17T19:34:34.212-0400 [INFO] Terraform version: 1.2.3
2022-06-17T19:34:34.212-0400 [DEBUG] using github.com/hashicorp/go-tfe v1.0.0
2022-06-17T19:34:34.212-0400 [DEBUG] using github.com/hashicorp/hcl/v2 v2.12.0
2022-06-17T19:34:34.212-0400 [DEBUG] using github.com/hashicorp/terraform-config-inspect v0.0.0-20210209133302-4fd17a0faac2
2022-06-17T19:34:34.212-0400 [DEBUG] using github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734
2022-06-17T19:34:34.212-0400 [DEBUG] using github.com/zclconf/go-cty v1.10.0
2022-06-17T19:34:34.212-0400 [INFO] Go runtime version: go1.18.1
2022-06-17T19:34:34.212-0400 [INFO] CLI args: []string{"terraform", "import", "time_static.b", "2022-02-02T01:11:11Z"}
2022-06-17T19:34:34.212-0400 [TRACE] Stdout is not a terminal
2022-06-17T19:34:34.212-0400 [TRACE] Stderr is not a terminal
2022-06-17T19:34:34.212-0400 [TRACE] Stdin is a terminal
2022-06-17T19:34:34.212-0400 [DEBUG] Attempting to open CLI config file: /Users/gchavez/.terraformrc
2022-06-17T19:34:34.212-0400 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2022-06-17T19:34:34.212-0400 [INFO] Loading CLI configuration from /Users/gchavez/.terraform.d/credentials.tfrc.json
2022-06-17T19:34:34.212-0400 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2022-06-17T19:34:34.212-0400 [DEBUG] ignoring non-existing provider search directory /Users/gchavez/.terraform.d/plugins
2022-06-17T19:34:34.212-0400 [DEBUG] ignoring non-existing provider search directory /Users/gchavez/Library/Application Support/io.terraform/plugins
2022-06-17T19:34:34.212-0400 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2022-06-17T19:34:34.212-0400 [INFO] CLI command args: []string{"import", "time_static.b", "2022-02-02T01:11:11Z"}
2022-06-17T19:34:34.213-0400 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config
2022-06-17T19:34:34.213-0400 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory
2022-06-17T19:34:34.213-0400 [DEBUG] New state was assigned lineage "e84cae20-877f-877b-9374-94a0147e98a8"
2022-06-17T19:34:34.213-0400 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
2022-06-17T19:34:34.213-0400 [TRACE] Meta.Backend: instantiated backend of type <nil>
2022-06-17T19:34:34.213-0400 [TRACE] providercache.fillMetaCache: scanning directory .terraform/providers
2022-06-17T19:34:34.213-0400 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/time v0.7.2 for darwin_amd64 at .terraform/providers/registry.terraform.io/hashicorp/time/0.7.2/darwin_amd64
2022-06-17T19:34:34.214-0400 [TRACE] providercache.fillMetaCache: including .terraform/providers/registry.terraform.io/hashicorp/time/0.7.2/darwin_amd64 as a candidate package for registry.terraform.io/hashicorp/time 0.7.2
2022-06-17T19:34:34.244-0400 [DEBUG] checking for provisioner in "."
2022-06-17T19:34:34.244-0400 [DEBUG] checking for provisioner in "/Users/gchavez/bin"
2022-06-17T19:34:34.244-0400 [TRACE] Meta.Backend: backend <nil> does not support operations, so wrapping it in a local backend
2022-06-17T19:34:34.245-0400 [TRACE] backend/local: requesting state manager for workspace "default"
2022-06-17T19:34:34.245-0400 [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
2022-06-17T19:34:34.245-0400 [TRACE] backend/local: requesting state lock for workspace "default"
2022-06-17T19:34:34.246-0400 [TRACE] statemgr.Filesystem: preparing to manage state snapshots at terraform.tfstate
2022-06-17T19:34:34.246-0400 [TRACE] statemgr.Filesystem: existing snapshot has lineage "7e16ada4-48b4-2c22-39c9-1a493cb72545" serial 1
2022-06-17T19:34:34.246-0400 [TRACE] statemgr.Filesystem: locking terraform.tfstate using fcntl flock
2022-06-17T19:34:34.246-0400 [TRACE] statemgr.Filesystem: writing lock metadata to .terraform.tfstate.lock.info
2022-06-17T19:34:34.246-0400 [TRACE] backend/local: reading remote state for workspace "default"
2022-06-17T19:34:34.246-0400 [TRACE] statemgr.Filesystem: reading latest snapshot from terraform.tfstate
2022-06-17T19:34:34.246-0400 [TRACE] statemgr.Filesystem: read snapshot with lineage "7e16ada4-48b4-2c22-39c9-1a493cb72545" serial 1
2022-06-17T19:34:34.246-0400 [TRACE] backend/local: populating backend.LocalRun for current working directory
2022-06-17T19:34:34.246-0400 [TRACE] Config.VerifyDependencySelections: provider registry.terraform.io/hashicorp/time has 0.7.2 to satisfy ""
2022-06-17T19:34:34.246-0400 [TRACE] terraform.NewContext: starting
2022-06-17T19:34:34.246-0400 [TRACE] terraform.NewContext: complete
2022-06-17T19:34:34.246-0400 [DEBUG] Building and walking import graph
2022-06-17T19:34:34.246-0400 [TRACE] Executing graph transform *terraform.ConfigTransformer
2022-06-17T19:34:34.247-0400 [TRACE] ConfigTransformer: Starting for path:
2022-06-17T19:34:34.247-0400 [TRACE] Completed graph transform *terraform.ConfigTransformer with new graph:
time_static.a - *terraform.NodeAbstractResource
time_static.b - *terraform.NodeAbstractResource
------
2022-06-17T19:34:34.247-0400 [TRACE] Executing graph transform *terraform.RootVariableTransformer
2022-06-17T19:34:34.247-0400 [TRACE] Completed graph transform *terraform.RootVariableTransformer (no changes)
2022-06-17T19:34:34.247-0400 [TRACE] Executing graph transform *terraform.ModuleVariableTransformer
2022-06-17T19:34:34.247-0400 [TRACE] Completed graph transform *terraform.ModuleVariableTransformer (no changes)
2022-06-17T19:34:34.247-0400 [TRACE] Executing graph transform *terraform.LocalTransformer
2022-06-17T19:34:34.247-0400 [TRACE] Completed graph transform *terraform.LocalTransformer with new graph:
local.blocks (expand) - *terraform.nodeExpandLocal
local.e (expand) - *terraform.nodeExpandLocal
time_static.a - *terraform.NodeAbstractResource
time_static.b - *terraform.NodeAbstractResource
------
2022-06-17T19:34:34.247-0400 [TRACE] Executing graph transform *terraform.OutputTransformer
2022-06-17T19:34:34.247-0400 [TRACE] Completed graph transform *terraform.OutputTransformer (no changes)
2022-06-17T19:34:34.247-0400 [TRACE] Executing graph transform *terraform.AttachResourceConfigTransformer
2022-06-17T19:34:34.247-0400 [TRACE] AttachResourceConfigTransformer: attaching to "time_static.b" (*terraform.NodeAbstractResource) config from /Users/gchavez/git/_brivo/terraform-aws-brivo/bug-2-DONE/versions.tf:10,1-27
2022-06-17T19:34:34.247-0400 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to time_static.b
2022-06-17T19:34:34.247-0400 [TRACE] AttachResourceConfigTransformer: attaching to "time_static.a" (*terraform.NodeAbstractResource) config from /Users/gchavez/git/_brivo/terraform-aws-brivo/bug-2-DONE/versions.tf:7,1-27
2022-06-17T19:34:34.247-0400 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to time_static.a
2022-06-17T19:34:34.247-0400 [TRACE] Completed graph transform *terraform.AttachResourceConfigTransformer (no changes)
2022-06-17T19:34:34.247-0400 [TRACE] Executing graph transform *terraform.ImportStateTransformer
2022-06-17T19:34:34.247-0400 [TRACE] Completed graph transform *terraform.ImportStateTransformer with new graph:
local.blocks (expand) - *terraform.nodeExpandLocal
local.e (expand) - *terraform.nodeExpandLocal
time_static.a - *terraform.NodeAbstractResource
time_static.b - *terraform.NodeAbstractResource
time_static.b (import id "2022-02-02T01:11:11Z") - *terraform.graphNodeImportState
------
2022-06-17T19:34:34.247-0400 [TRACE] Executing graph transform *terraform.graphTransformerMulti
2022-06-17T19:34:34.247-0400 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderConfigTransformer
2022-06-17T19:34:34.247-0400 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderConfigTransformer with new graph:
local.blocks (expand) - *terraform.nodeExpandLocal
local.e (expand) - *terraform.nodeExpandLocal
time_static.a - *terraform.NodeAbstractResource
time_static.b - *terraform.NodeAbstractResource
time_static.b (import id "2022-02-02T01:11:11Z") - *terraform.graphNodeImportState
------
2022-06-17T19:34:34.247-0400 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.MissingProviderTransformer
2022-06-17T19:34:34.247-0400 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/time"], implied first by time_static.a
2022-06-17T19:34:34.247-0400 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.MissingProviderTransformer with new graph:
local.blocks (expand) - *terraform.nodeExpandLocal
local.e (expand) - *terraform.nodeExpandLocal
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
time_static.a - *terraform.NodeAbstractResource
time_static.b - *terraform.NodeAbstractResource
time_static.b (import id "2022-02-02T01:11:11Z") - *terraform.graphNodeImportState
------
2022-06-17T19:34:34.247-0400 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderTransformer
2022-06-17T19:34:34.247-0400 [TRACE] ProviderTransformer: exact match for provider["registry.terraform.io/hashicorp/time"] serving time_static.b (import id "2022-02-02T01:11:11Z")
2022-06-17T19:34:34.247-0400 [DEBUG] ProviderTransformer: "time_static.b (import id \"2022-02-02T01:11:11Z\")" (*terraform.graphNodeImportState) needs provider["registry.terraform.io/hashicorp/time"]
2022-06-17T19:34:34.247-0400 [TRACE] ProviderTransformer: exact match for provider["registry.terraform.io/hashicorp/time"] serving time_static.a
2022-06-17T19:34:34.247-0400 [DEBUG] ProviderTransformer: "time_static.a" (*terraform.NodeAbstractResource) needs provider["registry.terraform.io/hashicorp/time"]
2022-06-17T19:34:34.247-0400 [TRACE] ProviderTransformer: exact match for provider["registry.terraform.io/hashicorp/time"] serving time_static.b
2022-06-17T19:34:34.247-0400 [DEBUG] ProviderTransformer: "time_static.b" (*terraform.NodeAbstractResource) needs provider["registry.terraform.io/hashicorp/time"]
2022-06-17T19:34:34.247-0400 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderTransformer with new graph:
local.blocks (expand) - *terraform.nodeExpandLocal
local.e (expand) - *terraform.nodeExpandLocal
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
time_static.a - *terraform.NodeAbstractResource
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
time_static.b - *terraform.NodeAbstractResource
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
time_static.b (import id "2022-02-02T01:11:11Z") - *terraform.graphNodeImportState
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
------
2022-06-17T19:34:34.247-0400 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.PruneProviderTransformer
2022-06-17T19:34:34.247-0400 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.PruneProviderTransformer (no changes)
2022-06-17T19:34:34.247-0400 [TRACE] Completed graph transform *terraform.graphTransformerMulti with new graph:
local.blocks (expand) - *terraform.nodeExpandLocal
local.e (expand) - *terraform.nodeExpandLocal
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
time_static.a - *terraform.NodeAbstractResource
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
time_static.b - *terraform.NodeAbstractResource
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
time_static.b (import id "2022-02-02T01:11:11Z") - *terraform.graphNodeImportState
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
------
2022-06-17T19:34:34.247-0400 [TRACE] Executing graph transform *terraform.AttachSchemaTransformer
2022-06-17T19:34:34.247-0400 [TRACE] terraform.contextPlugins: Initializing provider "registry.terraform.io/hashicorp/time" to read its schema
2022-06-17T19:34:34.247-0400 [DEBUG] created provider logger: level=trace
2022-06-17T19:34:34.247-0400 [INFO] provider: configuring client automatic mTLS
2022-06-17T19:34:34.260-0400 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/time/0.7.2/darwin_amd64/terraform-provider-time_v0.7.2_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/time/0.7.2/darwin_amd64/terraform-provider-time_v0.7.2_x5]
2022-06-17T19:34:34.261-0400 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/time/0.7.2/darwin_amd64/terraform-provider-time_v0.7.2_x5 pid=73556
2022-06-17T19:34:34.261-0400 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/time/0.7.2/darwin_amd64/terraform-provider-time_v0.7.2_x5
2022-06-17T19:34:34.267-0400 [INFO] provider.terraform-provider-time_v0.7.2_x5: configuring server automatic mTLS: timestamp=2022-06-17T19:34:34.267-0400
2022-06-17T19:34:34.293-0400 [DEBUG] provider.terraform-provider-time_v0.7.2_x5: plugin address: address=/var/folders/pc/v0vd9tnd01g10d3yqtx50hx80000gn/T/plugin771177635 network=unix timestamp=2022-06-17T19:34:34.293-0400
2022-06-17T19:34:34.293-0400 [DEBUG] provider: using plugin: version=5
2022-06-17T19:34:34.317-0400 [TRACE] GRPCProvider: GetProviderSchema
2022-06-17T19:34:34.317-0400 [TRACE] provider.stdio: waiting for stdio data
2022-06-17T19:34:34.318-0400 [TRACE] GRPCProvider: Close
2022-06-17T19:34:34.319-0400 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-06-17T19:34:34.320-0400 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/time/0.7.2/darwin_amd64/terraform-provider-time_v0.7.2_x5 pid=73556
2022-06-17T19:34:34.339-0400 [DEBUG] provider: plugin exited
2022-06-17T19:34:34.339-0400 [TRACE] AttachSchemaTransformer: attaching provider config schema to provider["registry.terraform.io/hashicorp/time"]
2022-06-17T19:34:34.339-0400 [TRACE] AttachSchemaTransformer: attaching resource schema to time_static.a
2022-06-17T19:34:34.339-0400 [TRACE] AttachSchemaTransformer: attaching resource schema to time_static.b
2022-06-17T19:34:34.339-0400 [TRACE] Completed graph transform *terraform.AttachSchemaTransformer (no changes)
2022-06-17T19:34:34.339-0400 [TRACE] Executing graph transform *terraform.ModuleExpansionTransformer
2022-06-17T19:34:34.339-0400 [TRACE] Completed graph transform *terraform.ModuleExpansionTransformer (no changes)
2022-06-17T19:34:34.339-0400 [TRACE] Executing graph transform *terraform.ReferenceTransformer
2022-06-17T19:34:34.340-0400 [DEBUG] ReferenceTransformer: "time_static.a" references: []
2022-06-17T19:34:34.340-0400 [DEBUG] ReferenceTransformer: "time_static.b" references: []
2022-06-17T19:34:34.340-0400 [DEBUG] ReferenceTransformer: "local.e (expand)" references: []
2022-06-17T19:34:34.340-0400 [DEBUG] ReferenceTransformer: "local.blocks (expand)" references: [local.e (expand) time_static.a time_static.b]
2022-06-17T19:34:34.340-0400 [DEBUG] ReferenceTransformer: "time_static.b (import id \"2022-02-02T01:11:11Z\")" references: []
2022-06-17T19:34:34.340-0400 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/time\"]" references: []
2022-06-17T19:34:34.340-0400 [TRACE] Completed graph transform *terraform.ReferenceTransformer with new graph:
local.blocks (expand) - *terraform.nodeExpandLocal
local.e (expand) - *terraform.nodeExpandLocal
time_static.a - *terraform.NodeAbstractResource
time_static.b - *terraform.NodeAbstractResource
local.e (expand) - *terraform.nodeExpandLocal
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
time_static.a - *terraform.NodeAbstractResource
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
time_static.b - *terraform.NodeAbstractResource
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
time_static.b (import id "2022-02-02T01:11:11Z") - *terraform.graphNodeImportState
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
------
2022-06-17T19:34:34.340-0400 [TRACE] Executing graph transform *terraform.attachDataResourceDependsOnTransformer
2022-06-17T19:34:34.340-0400 [TRACE] Completed graph transform *terraform.attachDataResourceDependsOnTransformer (no changes)
2022-06-17T19:34:34.340-0400 [TRACE] Executing graph transform *terraform.CloseProviderTransformer
2022-06-17T19:34:34.340-0400 [TRACE] Completed graph transform *terraform.CloseProviderTransformer with new graph:
local.blocks (expand) - *terraform.nodeExpandLocal
local.e (expand) - *terraform.nodeExpandLocal
time_static.a - *terraform.NodeAbstractResource
time_static.b - *terraform.NodeAbstractResource
local.e (expand) - *terraform.nodeExpandLocal
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/time"] (close) - *terraform.graphNodeCloseProvider
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
time_static.a - *terraform.NodeAbstractResource
time_static.b - *terraform.NodeAbstractResource
time_static.b (import id "2022-02-02T01:11:11Z") - *terraform.graphNodeImportState
time_static.a - *terraform.NodeAbstractResource
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
time_static.b - *terraform.NodeAbstractResource
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
time_static.b (import id "2022-02-02T01:11:11Z") - *terraform.graphNodeImportState
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
------
2022-06-17T19:34:34.340-0400 [TRACE] Executing graph transform *terraform.CloseRootModuleTransformer
2022-06-17T19:34:34.340-0400 [TRACE] Completed graph transform *terraform.CloseRootModuleTransformer with new graph:
local.blocks (expand) - *terraform.nodeExpandLocal
local.e (expand) - *terraform.nodeExpandLocal
time_static.a - *terraform.NodeAbstractResource
time_static.b - *terraform.NodeAbstractResource
local.e (expand) - *terraform.nodeExpandLocal
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/time"] (close) - *terraform.graphNodeCloseProvider
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
time_static.a - *terraform.NodeAbstractResource
time_static.b - *terraform.NodeAbstractResource
time_static.b (import id "2022-02-02T01:11:11Z") - *terraform.graphNodeImportState
root - *terraform.nodeCloseModule
local.blocks (expand) - *terraform.nodeExpandLocal
provider["registry.terraform.io/hashicorp/time"] (close) - *terraform.graphNodeCloseProvider
time_static.a - *terraform.NodeAbstractResource
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
time_static.b - *terraform.NodeAbstractResource
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
time_static.b (import id "2022-02-02T01:11:11Z") - *terraform.graphNodeImportState
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
------
2022-06-17T19:34:34.340-0400 [TRACE] Executing graph transform *terraform.TransitiveReductionTransformer
2022-06-17T19:34:34.340-0400 [TRACE] Completed graph transform *terraform.TransitiveReductionTransformer with new graph:
local.blocks (expand) - *terraform.nodeExpandLocal
local.e (expand) - *terraform.nodeExpandLocal
time_static.a - *terraform.NodeAbstractResource
time_static.b - *terraform.NodeAbstractResource
local.e (expand) - *terraform.nodeExpandLocal
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/time"] (close) - *terraform.graphNodeCloseProvider
time_static.a - *terraform.NodeAbstractResource
time_static.b - *terraform.NodeAbstractResource
time_static.b (import id "2022-02-02T01:11:11Z") - *terraform.graphNodeImportState
root - *terraform.nodeCloseModule
local.blocks (expand) - *terraform.nodeExpandLocal
provider["registry.terraform.io/hashicorp/time"] (close) - *terraform.graphNodeCloseProvider
time_static.a - *terraform.NodeAbstractResource
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
time_static.b - *terraform.NodeAbstractResource
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
time_static.b (import id "2022-02-02T01:11:11Z") - *terraform.graphNodeImportState
provider["registry.terraform.io/hashicorp/time"] - *terraform.NodeApplyableProvider
------
2022-06-17T19:34:34.340-0400 [DEBUG] Starting graph walk: walkImport
2022-06-17T19:34:34.340-0400 [TRACE] vertex "local.e (expand)": starting visit (*terraform.nodeExpandLocal)
2022-06-17T19:34:34.340-0400 [TRACE] vertex "local.e (expand)": expanding dynamic subgraph
2022-06-17T19:34:34.340-0400 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/time\"]": starting visit (*terraform.NodeApplyableProvider)
2022-06-17T19:34:34.340-0400 [TRACE] Expanding local: adding local.e as *terraform.NodeLocal
2022-06-17T19:34:34.340-0400 [TRACE] vertex "local.e (expand)": entering dynamic subgraph
2022-06-17T19:34:34.340-0400 [TRACE] vertex "local.e": starting visit (*terraform.NodeLocal)
2022-06-17T19:34:34.340-0400 [DEBUG] created provider logger: level=trace
2022-06-17T19:34:34.340-0400 [TRACE] vertex "local.e": visit complete
2022-06-17T19:34:34.340-0400 [TRACE] vertex "local.e (expand)": dynamic subgraph completed successfully
2022-06-17T19:34:34.340-0400 [TRACE] vertex "local.e (expand)": visit complete
2022-06-17T19:34:34.340-0400 [INFO] provider: configuring client automatic mTLS
2022-06-17T19:34:34.353-0400 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/time/0.7.2/darwin_amd64/terraform-provider-time_v0.7.2_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/time/0.7.2/darwin_amd64/terraform-provider-time_v0.7.2_x5]
2022-06-17T19:34:34.354-0400 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/time/0.7.2/darwin_amd64/terraform-provider-time_v0.7.2_x5 pid=73557
2022-06-17T19:34:34.354-0400 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/time/0.7.2/darwin_amd64/terraform-provider-time_v0.7.2_x5
2022-06-17T19:34:34.360-0400 [INFO] provider.terraform-provider-time_v0.7.2_x5: configuring server automatic mTLS: timestamp=2022-06-17T19:34:34.360-0400
2022-06-17T19:34:34.386-0400 [DEBUG] provider.terraform-provider-time_v0.7.2_x5: plugin address: network=unix address=/var/folders/pc/v0vd9tnd01g10d3yqtx50hx80000gn/T/plugin600699832 timestamp=2022-06-17T19:34:34.386-0400
2022-06-17T19:34:34.386-0400 [DEBUG] provider: using plugin: version=5
2022-06-17T19:34:34.409-0400 [TRACE] BuiltinEvalContext: Initialized "provider[\"registry.terraform.io/hashicorp/time\"]" provider for provider["registry.terraform.io/hashicorp/time"]
2022-06-17T19:34:34.409-0400 [TRACE] NodeApplyableProvider: configuring provider["registry.terraform.io/hashicorp/time"] (requiring that configuration is wholly known)
2022-06-17T19:34:34.409-0400 [TRACE] buildProviderConfig for provider["registry.terraform.io/hashicorp/time"]: no configuration at all
2022-06-17T19:34:34.409-0400 [TRACE] provider.stdio: waiting for stdio data
2022-06-17T19:34:34.409-0400 [TRACE] GRPCProvider: GetProviderSchema
2022-06-17T19:34:34.410-0400 [TRACE] GRPCProvider: ValidateProviderConfig
2022-06-17T19:34:34.410-0400 [TRACE] GRPCProvider: ConfigureProvider
2022-06-17T19:34:34.410-0400 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/time\"]": visit complete
2022-06-17T19:34:34.410-0400 [TRACE] vertex "time_static.b": starting visit (*terraform.NodeAbstractResource)
2022-06-17T19:34:34.410-0400 [TRACE] vertex "time_static.b": visit complete
2022-06-17T19:34:34.411-0400 [TRACE] vertex "time_static.b (import id \"2022-02-02T01:11:11Z\")": starting visit (*terraform.graphNodeImportState)
2022-06-17T19:34:34.411-0400 [TRACE] vertex "time_static.a": starting visit (*terraform.NodeAbstractResource)
2022-06-17T19:34:34.411-0400 [TRACE] vertex "time_static.a": visit complete
time_static.b: Importing from ID "2022-02-02T01:11:11Z"...
2022-06-17T19:34:34.411-0400 [TRACE] vertex "local.blocks (expand)": starting visit (*terraform.nodeExpandLocal)
2022-06-17T19:34:34.411-0400 [TRACE] vertex "local.blocks (expand)": expanding dynamic subgraph
2022-06-17T19:34:34.411-0400 [TRACE] GRPCProvider: ImportResourceState
2022-06-17T19:34:34.411-0400 [TRACE] Expanding local: adding local.blocks as *terraform.NodeLocal
2022-06-17T19:34:34.411-0400 [TRACE] vertex "local.blocks (expand)": entering dynamic subgraph
2022-06-17T19:34:34.411-0400 [TRACE] vertex "local.blocks": starting visit (*terraform.NodeLocal)
2022-06-17T19:34:34.411-0400 [TRACE] vertex "local.blocks": visit complete
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
Terraform crashed! This is always indicative of a bug within Terraform.
Please report the crash with Terraform[1] so that we can fix this.
When reporting bugs, please include your terraform version, the stack trace
shown below, and any additional information which may help replicate the issue.
[1]: https://github.com/hashicorp/terraform/issues
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
AttributeTypes on non-object Type
goroutine 115 [running]:
runtime/debug.Stack()
/usr/local/go/src/runtime/debug/stack.go:24 +0x65
runtime/debug.PrintStack()
/usr/local/go/src/runtime/debug/stack.go:16 +0x19
github.com/hashicorp/terraform/internal/logging.PanicHandler()
/Users/distiller/project/project/internal/logging/panic.go:55 +0x153
panic({0x2e1b540, 0x3845300})
/usr/local/go/src/runtime/panic.go:838 +0x207
github.com/zclconf/go-cty/cty.Type.AttributeTypes(...)
/Users/distiller/go/pkg/mod/github.com/zclconf/go-cty@v1.10.0/cty/object_type.go:187
github.com/zclconf/go-cty/cty/convert.unifyObjectTypesToMap({0xc000ce9480, 0x2, 0x386d690?}, 0x1)
/Users/distiller/go/pkg/mod/github.com/zclconf/go-cty@v1.10.0/cty/convert/unify.go:368 +0x579
github.com/zclconf/go-cty/cty/convert.unifyTupleTypesToList({0xc000ce9480, 0x2, 0x2}, 0x1)
/Users/distiller/go/pkg/mod/github.com/zclconf/go-cty@v1.10.0/cty/convert/unify.go:487 +0x40a
github.com/zclconf/go-cty/cty/convert.unifyTupleTypes({0xc000ce9480?, 0x2, 0x2}, 0x1, 0x0?)
/Users/distiller/go/pkg/mod/github.com/zclconf/go-cty@v1.10.0/cty/convert/unify.go:418 +0x6b9
github.com/zclconf/go-cty/cty/convert.unify({0xc000ce9480?, 0x2, 0x2}, 0x1)
/Users/distiller/go/pkg/mod/github.com/zclconf/go-cty@v1.10.0/cty/convert/unify.go:85 +0x41e
github.com/zclconf/go-cty/cty/convert.UnifyUnsafe(...)
/Users/distiller/go/pkg/mod/github.com/zclconf/go-cty@v1.10.0/cty/convert/public.go:82
github.com/hashicorp/hcl/v2/hclsyntax.(*ConditionalExpr).Value(0xc00039ee00, 0xc000d88720)
/Users/distiller/go/pkg/mod/github.com/hashicorp/hcl/v2@v2.12.0/hclsyntax/expression.go:610 +0x2ab
github.com/hashicorp/terraform/internal/lang.(*Scope).EvalExpr(0xc00013f620, {0x386c238?, 0xc00039ee00}, {{0x386d658?, 0x4c4e230?}})
/Users/distiller/project/project/internal/lang/eval.go:171 +0x148
github.com/hashicorp/terraform/internal/terraform.(*BuiltinEvalContext).EvaluateExpr(0x386c238?, {0x386c238, 0xc00039ee00}, {{0x386d658?, 0x4c4e230?}}, {0x0?, 0x0?})
/Users/distiller/project/project/internal/terraform/eval_context_builtin.go:282 +0xc5
github.com/hashicorp/terraform/internal/terraform.(*NodeLocal).Execute(0x0?, {0x387b880, 0xc000237340}, 0x0?)
/Users/distiller/project/project/internal/terraform/node_local.go:153 +0x576
github.com/hashicorp/terraform/internal/terraform.(*ContextGraphWalker).Execute(0xc0002cca50, {0x387b880, 0xc000237340}, {0x8a55140, 0xc000cfc720})
/Users/distiller/project/project/internal/terraform/graph_walk_context.go:135 +0xc2
github.com/hashicorp/terraform/internal/terraform.(*Graph).walk.func1({0x30d7480, 0xc000cfc720})
/Users/distiller/project/project/internal/terraform/graph.go:74 +0x2f0
github.com/hashicorp/terraform/internal/dag.(*Walker).walkVertex(0xc00013f560, {0x30d7480, 0xc000cfc720}, 0xc0002f2200)
/Users/distiller/project/project/internal/dag/walk.go:381 +0x2f1
created by github.com/hashicorp/terraform/internal/dag.(*Walker).Update
/Users/distiller/project/project/internal/dag/walk.go:304 +0xf45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment