Skip to content

Instantly share code, notes, and snippets.

@dr-yd
Last active October 26, 2021 10:23
Show Gist options
  • Save dr-yd/ac0c838bdac435052865ec21562f716e to your computer and use it in GitHub Desktop.
Save dr-yd/ac0c838bdac435052865ec21562f716e to your computer and use it in GitHub Desktop.
2021-10-26T12:23:21.552+0200 [DEBUG] Adding temp file log sink: /var/folders/8y/3jkqmmm96wx1qmsby54f529m0000gp/T/terraform-log875806891
2021-10-26T12:23:21.552+0200 [INFO] Terraform version: 1.0.9
2021-10-26T12:23:21.552+0200 [INFO] Go runtime version: go1.16.4
2021-10-26T12:23:21.552+0200 [INFO] CLI args: []string{"/usr/local/bin/terraform", "validate"}
2021-10-26T12:23:21.552+0200 [TRACE] Stdout is a terminal of width 159
2021-10-26T12:23:21.552+0200 [TRACE] Stderr is a terminal of width 159
2021-10-26T12:23:21.552+0200 [TRACE] Stdin is a terminal
2021-10-26T12:23:21.552+0200 [DEBUG] Attempting to open CLI config file: /Users/david.reis/.terraformrc
2021-10-26T12:23:21.552+0200 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021-10-26T12:23:21.552+0200 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021-10-26T12:23:21.552+0200 [DEBUG] ignoring non-existing provider search directory /Users/david.reis/.terraform.d/plugins
2021-10-26T12:23:21.553+0200 [DEBUG] ignoring non-existing provider search directory /Users/david.reis/Library/Application Support/io.terraform/plugins
2021-10-26T12:23:21.553+0200 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2021-10-26T12:23:21.553+0200 [INFO] CLI command args: []string{"validate"}
2021-10-26T12:23:21.557+0200 [TRACE] providercache.fillMetaCache: scanning directory .terraform/providers
2021-10-26T12:23:21.558+0200 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/aws v3.35.0 for darwin_amd64 at .terraform/providers/registry.terraform.io/hashicorp/aws/3.35.0/darwin_amd64
2021-10-26T12:23:21.558+0200 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/null v3.1.0 for darwin_amd64 at .terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/darwin_amd64
2021-10-26T12:23:21.558+0200 [TRACE] providercache.fillMetaCache: including .terraform/providers/registry.terraform.io/hashicorp/aws/3.35.0/darwin_amd64 as a candidate package for registry.terraform.io/hashicorp/aws 3.35.0
2021-10-26T12:23:21.558+0200 [TRACE] providercache.fillMetaCache: including .terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/darwin_amd64 as a candidate package for registry.terraform.io/hashicorp/null 3.1.0
2021-10-26T12:23:21.638+0200 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/providers
2021-10-26T12:23:22.450+0200 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/providers
2021-10-26T12:23:22.450+0200 [WARN] Failed to determine selected providers: 1 error occurred:
* there is no package for registry.terraform.io/hashicorp/local 2.1.0 cached in .terraform/providers
2021-10-26T12:23:22.450+0200 [DEBUG] checking for provisioner in "."
2021-10-26T12:23:22.474+0200 [DEBUG] checking for provisioner in "/usr/local/bin"
2021-10-26T12:23:22.476+0200 [INFO] Failed to read plugin lock file .terraform/plugins/darwin_amd64/lock.json: open .terraform/plugins/darwin_amd64/lock.json: no such file or directory
2021-10-26T12:23:22.476+0200 [TRACE] terraform.NewContext: starting
2021-10-26T12:23:22.477+0200 [TRACE] terraform.NewContext: loading provider schemas
2021-10-26T12:23:22.477+0200 [TRACE] LoadSchemas: retrieving schema for provider type "registry.terraform.io/hashicorp/null"
2021-10-26T12:23:22.477+0200 [DEBUG] created provider logger: level=trace
2021-10-26T12:23:22.477+0200 [INFO] provider: configuring client automatic mTLS
2021-10-26T12:23:22.552+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/darwin_amd64/terraform-provider-null_v3.1.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/darwin_amd64/terraform-provider-null_v3.1.0_x5]
2021-10-26T12:23:22.556+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/darwin_amd64/terraform-provider-null_v3.1.0_x5 pid=11275
2021-10-26T12:23:22.557+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/darwin_amd64/terraform-provider-null_v3.1.0_x5
2021-10-26T12:23:22.579+0200 [INFO] provider.terraform-provider-null_v3.1.0_x5: configuring server automatic mTLS: timestamp=2021-10-26T12:23:22.579+0200
2021-10-26T12:23:22.657+0200 [DEBUG] provider.terraform-provider-null_v3.1.0_x5: plugin address: address=/var/folders/8y/3jkqmmm96wx1qmsby54f529m0000gp/T/plugin999197974 network=unix timestamp=2021-10-26T12:23:22.657+0200
2021-10-26T12:23:22.657+0200 [DEBUG] provider: using plugin: version=5
2021-10-26T12:23:22.761+0200 [TRACE] GRPCProvider: GetProviderSchema
2021-10-26T12:23:22.761+0200 [TRACE] provider.stdio: waiting for stdio data
2021-10-26T12:23:22.765+0200 [TRACE] GRPCProvider: Close
2021-10-26T12:23:22.766+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-10-26T12:23:22.768+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/darwin_amd64/terraform-provider-null_v3.1.0_x5 pid=11275
2021-10-26T12:23:22.768+0200 [DEBUG] provider: plugin exited
2021-10-26T12:23:22.768+0200 [TRACE] terraform.NewContext: complete
2021-10-26T12:23:22.768+0200 [INFO] terraform: building graph: GraphTypeValidate
2021-10-26T12:23:22.768+0200 [TRACE] Executing graph transform *terraform.ConfigTransformer
2021-10-26T12:23:22.768+0200 [TRACE] ConfigTransformer: Starting for path:
2021-10-26T12:23:22.768+0200 [TRACE] Completed graph transform *terraform.ConfigTransformer with new graph:
null_resource.test - *terraform.NodeValidatableResource
------
2021-10-26T12:23:22.768+0200 [TRACE] Executing graph transform *terraform.RootVariableTransformer
2021-10-26T12:23:22.768+0200 [TRACE] Completed graph transform *terraform.RootVariableTransformer (no changes)
2021-10-26T12:23:22.769+0200 [TRACE] Executing graph transform *terraform.ModuleVariableTransformer
2021-10-26T12:23:22.769+0200 [TRACE] Completed graph transform *terraform.ModuleVariableTransformer (no changes)
2021-10-26T12:23:22.769+0200 [TRACE] Executing graph transform *terraform.LocalTransformer
2021-10-26T12:23:22.769+0200 [TRACE] Completed graph transform *terraform.LocalTransformer with new graph:
local.t1 (expand) - *terraform.nodeExpandLocal
local.t2 (expand) - *terraform.nodeExpandLocal
null_resource.test - *terraform.NodeValidatableResource
------
2021-10-26T12:23:22.769+0200 [TRACE] Executing graph transform *terraform.OutputTransformer
2021-10-26T12:23:22.769+0200 [TRACE] Completed graph transform *terraform.OutputTransformer (no changes)
2021-10-26T12:23:22.769+0200 [TRACE] Executing graph transform *terraform.OrphanResourceInstanceTransformer
2021-10-26T12:23:22.769+0200 [TRACE] Completed graph transform *terraform.OrphanResourceInstanceTransformer (no changes)
2021-10-26T12:23:22.769+0200 [TRACE] Executing graph transform *terraform.StateTransformer
2021-10-26T12:23:22.769+0200 [TRACE] StateTransformer: state is empty, so nothing to do
2021-10-26T12:23:22.769+0200 [TRACE] Completed graph transform *terraform.StateTransformer (no changes)
2021-10-26T12:23:22.769+0200 [TRACE] Executing graph transform *terraform.AttachStateTransformer
2021-10-26T12:23:22.769+0200 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes)
2021-10-26T12:23:22.769+0200 [TRACE] Executing graph transform *terraform.OrphanOutputTransformer
2021-10-26T12:23:22.769+0200 [TRACE] Completed graph transform *terraform.OrphanOutputTransformer (no changes)
2021-10-26T12:23:22.769+0200 [TRACE] Executing graph transform *terraform.AttachResourceConfigTransformer
2021-10-26T12:23:22.769+0200 [TRACE] AttachResourceConfigTransformer: attaching to "null_resource.test" (*terraform.NodeValidatableResource) config from main.tf:4,1-32
2021-10-26T12:23:22.770+0200 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to null_resource.test
2021-10-26T12:23:22.770+0200 [TRACE] Completed graph transform *terraform.AttachResourceConfigTransformer (no changes)
2021-10-26T12:23:22.770+0200 [TRACE] Executing graph transform *terraform.graphTransformerMulti
2021-10-26T12:23:22.770+0200 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderConfigTransformer
2021-10-26T12:23:22.770+0200 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderConfigTransformer with new graph:
local.t1 (expand) - *terraform.nodeExpandLocal
local.t2 (expand) - *terraform.nodeExpandLocal
null_resource.test - *terraform.NodeValidatableResource
------
2021-10-26T12:23:22.771+0200 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.MissingProviderTransformer
2021-10-26T12:23:22.771+0200 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/null"], implied first by null_resource.test
2021-10-26T12:23:22.771+0200 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.MissingProviderTransformer with new graph:
local.t1 (expand) - *terraform.nodeExpandLocal
local.t2 (expand) - *terraform.nodeExpandLocal
null_resource.test - *terraform.NodeValidatableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
------
2021-10-26T12:23:22.771+0200 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderTransformer
2021-10-26T12:23:22.771+0200 [TRACE] ProviderTransformer: exact match for provider["registry.terraform.io/hashicorp/null"] serving null_resource.test
2021-10-26T12:23:22.771+0200 [DEBUG] ProviderTransformer: "null_resource.test" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/null"]
2021-10-26T12:23:22.771+0200 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderTransformer with new graph:
local.t1 (expand) - *terraform.nodeExpandLocal
local.t2 (expand) - *terraform.nodeExpandLocal
null_resource.test - *terraform.NodeValidatableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
------
2021-10-26T12:23:22.771+0200 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.PruneProviderTransformer
2021-10-26T12:23:22.771+0200 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.PruneProviderTransformer (no changes)
2021-10-26T12:23:22.771+0200 [TRACE] Completed graph transform *terraform.graphTransformerMulti with new graph:
local.t1 (expand) - *terraform.nodeExpandLocal
local.t2 (expand) - *terraform.nodeExpandLocal
null_resource.test - *terraform.NodeValidatableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
------
2021-10-26T12:23:22.771+0200 [TRACE] Executing graph transform *terraform.RemovedModuleTransformer
2021-10-26T12:23:22.771+0200 [TRACE] Completed graph transform *terraform.RemovedModuleTransformer (no changes)
2021-10-26T12:23:22.771+0200 [TRACE] Executing graph transform *terraform.AttachSchemaTransformer
2021-10-26T12:23:22.771+0200 [TRACE] AttachSchemaTransformer: attaching provider config schema to provider["registry.terraform.io/hashicorp/null"]
2021-10-26T12:23:22.771+0200 [TRACE] AttachSchemaTransformer: attaching resource schema to null_resource.test
2021-10-26T12:23:22.771+0200 [TRACE] Completed graph transform *terraform.AttachSchemaTransformer (no changes)
2021-10-26T12:23:22.771+0200 [TRACE] Executing graph transform *terraform.ModuleExpansionTransformer
2021-10-26T12:23:22.772+0200 [TRACE] Completed graph transform *terraform.ModuleExpansionTransformer (no changes)
2021-10-26T12:23:22.772+0200 [TRACE] Executing graph transform *terraform.ReferenceTransformer
2021-10-26T12:23:22.772+0200 [DEBUG] ReferenceTransformer: "null_resource.test" references: []
2021-10-26T12:23:22.772+0200 [DEBUG] ReferenceTransformer: "local.t1 (expand)" references: [null_resource.test]
2021-10-26T12:23:22.772+0200 [DEBUG] ReferenceTransformer: "local.t2 (expand)" references: [local.t1 (expand)]
2021-10-26T12:23:22.772+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/null\"]" references: []
2021-10-26T12:23:22.772+0200 [TRACE] Completed graph transform *terraform.ReferenceTransformer with new graph:
local.t1 (expand) - *terraform.nodeExpandLocal
null_resource.test - *terraform.NodeValidatableResource
local.t2 (expand) - *terraform.nodeExpandLocal
local.t1 (expand) - *terraform.nodeExpandLocal
null_resource.test - *terraform.NodeValidatableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
------
2021-10-26T12:23:22.772+0200 [TRACE] Executing graph transform *terraform.AttachDependenciesTransformer
2021-10-26T12:23:22.772+0200 [TRACE] Completed graph transform *terraform.AttachDependenciesTransformer (no changes)
2021-10-26T12:23:22.772+0200 [TRACE] Executing graph transform *terraform.attachDataResourceDependsOnTransformer
2021-10-26T12:23:22.773+0200 [TRACE] Completed graph transform *terraform.attachDataResourceDependsOnTransformer (no changes)
2021-10-26T12:23:22.773+0200 [TRACE] Executing graph transform *terraform.TargetsTransformer
2021-10-26T12:23:22.773+0200 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes)
2021-10-26T12:23:22.773+0200 [TRACE] Executing graph transform *terraform.ForcedCBDTransformer
2021-10-26T12:23:22.773+0200 [TRACE] Completed graph transform *terraform.ForcedCBDTransformer (no changes)
2021-10-26T12:23:22.773+0200 [TRACE] Executing graph transform *terraform.CountBoundaryTransformer
2021-10-26T12:23:22.773+0200 [TRACE] Completed graph transform *terraform.CountBoundaryTransformer with new graph:
local.t1 (expand) - *terraform.nodeExpandLocal
null_resource.test - *terraform.NodeValidatableResource
local.t2 (expand) - *terraform.nodeExpandLocal
local.t1 (expand) - *terraform.nodeExpandLocal
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
local.t1 (expand) - *terraform.nodeExpandLocal
local.t2 (expand) - *terraform.nodeExpandLocal
null_resource.test - *terraform.NodeValidatableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
null_resource.test - *terraform.NodeValidatableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
------
2021-10-26T12:23:22.773+0200 [TRACE] Executing graph transform *terraform.CloseProviderTransformer
2021-10-26T12:23:22.773+0200 [TRACE] Completed graph transform *terraform.CloseProviderTransformer with new graph:
local.t1 (expand) - *terraform.nodeExpandLocal
null_resource.test - *terraform.NodeValidatableResource
local.t2 (expand) - *terraform.nodeExpandLocal
local.t1 (expand) - *terraform.nodeExpandLocal
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
local.t1 (expand) - *terraform.nodeExpandLocal
local.t2 (expand) - *terraform.nodeExpandLocal
null_resource.test - *terraform.NodeValidatableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
null_resource.test - *terraform.NodeValidatableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] (close) - *terraform.graphNodeCloseProvider
null_resource.test - *terraform.NodeValidatableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
------
2021-10-26T12:23:22.773+0200 [TRACE] Executing graph transform *terraform.CloseRootModuleTransformer
2021-10-26T12:23:22.773+0200 [TRACE] Completed graph transform *terraform.CloseRootModuleTransformer with new graph:
local.t1 (expand) - *terraform.nodeExpandLocal
null_resource.test - *terraform.NodeValidatableResource
local.t2 (expand) - *terraform.nodeExpandLocal
local.t1 (expand) - *terraform.nodeExpandLocal
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
local.t1 (expand) - *terraform.nodeExpandLocal
local.t2 (expand) - *terraform.nodeExpandLocal
null_resource.test - *terraform.NodeValidatableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
null_resource.test - *terraform.NodeValidatableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] (close) - *terraform.graphNodeCloseProvider
null_resource.test - *terraform.NodeValidatableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
root - *terraform.nodeCloseModule
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
provider["registry.terraform.io/hashicorp/null"] (close) - *terraform.graphNodeCloseProvider
------
2021-10-26T12:23:22.773+0200 [TRACE] Executing graph transform *terraform.TransitiveReductionTransformer
2021-10-26T12:23:22.773+0200 [TRACE] Completed graph transform *terraform.TransitiveReductionTransformer with new graph:
local.t1 (expand) - *terraform.nodeExpandLocal
null_resource.test - *terraform.NodeValidatableResource
local.t2 (expand) - *terraform.nodeExpandLocal
local.t1 (expand) - *terraform.nodeExpandLocal
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
local.t2 (expand) - *terraform.nodeExpandLocal
null_resource.test - *terraform.NodeValidatableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] (close) - *terraform.graphNodeCloseProvider
null_resource.test - *terraform.NodeValidatableResource
root - *terraform.nodeCloseModule
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
provider["registry.terraform.io/hashicorp/null"] (close) - *terraform.graphNodeCloseProvider
------
2021-10-26T12:23:22.774+0200 [DEBUG] Starting graph walk: walkValidate
2021-10-26T12:23:22.774+0200 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/null\"]": starting visit (*terraform.NodeApplyableProvider)
2021-10-26T12:23:22.774+0200 [DEBUG] created provider logger: level=trace
2021-10-26T12:23:22.774+0200 [INFO] provider: configuring client automatic mTLS
2021-10-26T12:23:22.826+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/darwin_amd64/terraform-provider-null_v3.1.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/darwin_amd64/terraform-provider-null_v3.1.0_x5]
2021-10-26T12:23:22.830+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/darwin_amd64/terraform-provider-null_v3.1.0_x5 pid=11276
2021-10-26T12:23:22.831+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/darwin_amd64/terraform-provider-null_v3.1.0_x5
2021-10-26T12:23:22.844+0200 [INFO] provider.terraform-provider-null_v3.1.0_x5: configuring server automatic mTLS: timestamp=2021-10-26T12:23:22.843+0200
2021-10-26T12:23:22.894+0200 [DEBUG] provider.terraform-provider-null_v3.1.0_x5: plugin address: address=/var/folders/8y/3jkqmmm96wx1qmsby54f529m0000gp/T/plugin992933243 network=unix timestamp=2021-10-26T12:23:22.894+0200
2021-10-26T12:23:22.894+0200 [DEBUG] provider: using plugin: version=5
2021-10-26T12:23:22.971+0200 [TRACE] BuiltinEvalContext: Initialized "provider[\"registry.terraform.io/hashicorp/null\"]" provider for provider["registry.terraform.io/hashicorp/null"]
2021-10-26T12:23:22.971+0200 [TRACE] buildProviderConfig for provider["registry.terraform.io/hashicorp/null"]: no configuration at all
2021-10-26T12:23:22.971+0200 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/null\"]": visit complete
2021-10-26T12:23:22.971+0200 [TRACE] provider.stdio: waiting for stdio data
2021-10-26T12:23:22.971+0200 [TRACE] vertex "null_resource.test": starting visit (*terraform.NodeValidatableResource)
2021-10-26T12:23:22.972+0200 [TRACE] GRPCProvider: ValidateResourceConfig
2021-10-26T12:23:22.972+0200 [TRACE] GRPCProvider: GetProviderSchema
2021-10-26T12:23:22.974+0200 [TRACE] vertex "null_resource.test": visit complete
2021-10-26T12:23:22.974+0200 [TRACE] vertex "local.t1 (expand)": starting visit (*terraform.nodeExpandLocal)
2021-10-26T12:23:22.974+0200 [TRACE] vertex "local.t1 (expand)": expanding dynamic subgraph
2021-10-26T12:23:22.974+0200 [TRACE] Expanding local: adding local.t1 as *terraform.NodeLocal
2021-10-26T12:23:22.974+0200 [TRACE] vertex "local.t1 (expand)": entering dynamic subgraph
2021-10-26T12:23:22.974+0200 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/null\"] (close)": starting visit (*terraform.graphNodeCloseProvider)
2021-10-26T12:23:22.974+0200 [TRACE] vertex "local.t1": starting visit (*terraform.NodeLocal)
2021-10-26T12:23:22.974+0200 [TRACE] GRPCProvider: Close
2021-10-26T12:23:22.975+0200 [TRACE] vertex "local.t1": visit complete
2021-10-26T12:23:22.975+0200 [TRACE] vertex "local.t1 (expand)": dynamic subgraph completed successfully
2021-10-26T12:23:22.975+0200 [TRACE] vertex "local.t1 (expand)": visit complete
2021-10-26T12:23:22.975+0200 [TRACE] vertex "local.t2 (expand)": starting visit (*terraform.nodeExpandLocal)
2021-10-26T12:23:22.975+0200 [TRACE] vertex "local.t2 (expand)": expanding dynamic subgraph
2021-10-26T12:23:22.975+0200 [TRACE] Expanding local: adding local.t2 as *terraform.NodeLocal
2021-10-26T12:23:22.975+0200 [TRACE] vertex "local.t2 (expand)": entering dynamic subgraph
2021-10-26T12:23:22.975+0200 [TRACE] vertex "local.t2": starting visit (*terraform.NodeLocal)
2021-10-26T12:23:22.976+0200 [TRACE] vertex "local.t2": visit complete
2021-10-26T12:23:22.976+0200 [TRACE] vertex "local.t2 (expand)": dynamic subgraph encountered errors: Inconsistent conditional result types
2021-10-26T12:23:22.976+0200 [TRACE] vertex "local.t2 (expand)": visit complete
2021-10-26T12:23:22.976+0200 [TRACE] dag/walk: upstream of "meta.count-boundary (EachMode fixup)" errored, so skipping
2021-10-26T12:23:22.977+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-10-26T12:23:22.979+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/darwin_amd64/terraform-provider-null_v3.1.0_x5 pid=11276
2021-10-26T12:23:22.979+0200 [DEBUG] provider: plugin exited
2021-10-26T12:23:22.980+0200 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/null\"] (close)": visit complete
2021-10-26T12:23:22.980+0200 [TRACE] dag/walk: upstream of "root" errored, so skipping
│ Error: Inconsistent conditional result types
│ on main.tf line 14, in locals:
│ 10: t2 = false ? [
│ 11: {
│ 12: c = []
│ 13: },
│ 14: ] : [
│ 15: {
│ 16: c = []
│ 17: },
│ 18: {
│ 19: c = local.t1
│ 20: }
│ 21: ]
│ ├────────────────
│ │ local.t1 will be known only after apply
│ The false result value has the wrong type: element types must all match for conversion to list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment