Skip to content

Instantly share code, notes, and snippets.

@minherz
Created October 4, 2022 01:54
Show Gist options
  • Save minherz/377c3825c257a0db97f7c77e77fbe56a to your computer and use it in GitHub Desktop.
Save minherz/377c3825c257a0db97f7c77e77fbe56a to your computer and use it in GitHub Desktop.
2022-10-03T18:53:36.321-0700 [INFO] Terraform version: 1.3.1
2022-10-03T18:53:36.321-0700 [DEBUG] using github.com/hashicorp/go-tfe v1.9.0
2022-10-03T18:53:36.321-0700 [DEBUG] using github.com/hashicorp/hcl/v2 v2.14.1
2022-10-03T18:53:36.321-0700 [DEBUG] using github.com/hashicorp/terraform-config-inspect v0.0.0-20210209133302-4fd17a0faac2
2022-10-03T18:53:36.321-0700 [DEBUG] using github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734
2022-10-03T18:53:36.321-0700 [DEBUG] using github.com/zclconf/go-cty v1.11.0
2022-10-03T18:53:36.321-0700 [INFO] Go runtime version: go1.19.1
2022-10-03T18:53:36.321-0700 [INFO] CLI args: []string{"terraform", "apply", "-auto-approve"}
2022-10-03T18:53:36.321-0700 [TRACE] Stdout is a terminal of width 111
2022-10-03T18:53:36.321-0700 [TRACE] Stderr is a terminal of width 111
2022-10-03T18:53:36.321-0700 [TRACE] Stdin is a terminal
2022-10-03T18:53:36.321-0700 [DEBUG] Attempting to open CLI config file: /home/leoy/.terraformrc
2022-10-03T18:53:36.321-0700 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2022-10-03T18:53:36.321-0700 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2022-10-03T18:53:36.321-0700 [DEBUG] ignoring non-existing provider search directory /home/leoy/.terraform.d/plugins
2022-10-03T18:53:36.321-0700 [DEBUG] ignoring non-existing provider search directory /home/leoy/.local/share/terraform/plugins
2022-10-03T18:53:36.321-0700 [DEBUG] ignoring non-existing provider search directory /usr/share/gnome/terraform/plugins
2022-10-03T18:53:36.321-0700 [DEBUG] ignoring non-existing provider search directory /usr/share/gnome/terraform/plugins
2022-10-03T18:53:36.321-0700 [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins
2022-10-03T18:53:36.321-0700 [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins
2022-10-03T18:53:36.322-0700 [INFO] CLI command args: []string{"apply", "-auto-approve"}
2022-10-03T18:53:36.322-0700 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config
2022-10-03T18:53:36.322-0700 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory
2022-10-03T18:53:36.322-0700 [DEBUG] New state was assigned lineage "1c7d5830-253b-b2d7-722c-e91252aff548"
2022-10-03T18:53:36.322-0700 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
2022-10-03T18:53:36.322-0700 [TRACE] Meta.Backend: instantiated backend of type <nil>
2022-10-03T18:53:36.322-0700 [DEBUG] checking for provisioner in "."
2022-10-03T18:53:36.327-0700 [DEBUG] checking for provisioner in "/usr/bin"
2022-10-03T18:53:36.327-0700 [TRACE] Meta.Backend: backend <nil> does not support operations, so wrapping it in a local backend
2022-10-03T18:53:36.327-0700 [INFO] backend/local: starting Apply operation
2022-10-03T18:53:36.327-0700 [TRACE] backend/local: requesting state manager for workspace "default"
2022-10-03T18:53:36.327-0700 [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-10-03T18:53:36.327-0700 [TRACE] backend/local: requesting state lock for workspace "default"
2022-10-03T18:53:36.327-0700 [TRACE] statemgr.Filesystem: preparing to manage state snapshots at terraform.tfstate
2022-10-03T18:53:36.328-0700 [TRACE] statemgr.Filesystem: existing snapshot has lineage "af67db53-f4b6-e656-5507-670a82b63713" serial 20
2022-10-03T18:53:36.328-0700 [TRACE] statemgr.Filesystem: locking terraform.tfstate using fcntl flock
2022-10-03T18:53:36.328-0700 [TRACE] statemgr.Filesystem: writing lock metadata to .terraform.tfstate.lock.info
2022-10-03T18:53:36.328-0700 [TRACE] backend/local: reading remote state for workspace "default"
2022-10-03T18:53:36.328-0700 [TRACE] statemgr.Filesystem: reading latest snapshot from terraform.tfstate
2022-10-03T18:53:36.328-0700 [TRACE] statemgr.Filesystem: read snapshot with lineage "af67db53-f4b6-e656-5507-670a82b63713" serial 20
2022-10-03T18:53:36.328-0700 [TRACE] backend/local: populating backend.LocalRun for current working directory
2022-10-03T18:53:36.328-0700 [TRACE] terraform.NewContext: starting
2022-10-03T18:53:36.328-0700 [TRACE] terraform.NewContext: complete
2022-10-03T18:53:36.328-0700 [TRACE] backend/local: requesting interactive input, if necessary
2022-10-03T18:53:36.328-0700 [TRACE] Context.Input: Prompting for provider arguments
2022-10-03T18:53:36.328-0700 [TRACE] backend/local: running validation operation
2022-10-03T18:53:36.328-0700 [DEBUG] Building and walking validate graph
2022-10-03T18:53:36.328-0700 [TRACE] building graph for walkValidate
2022-10-03T18:53:36.328-0700 [TRACE] Executing graph transform *terraform.ConfigTransformer
2022-10-03T18:53:36.328-0700 [TRACE] ConfigTransformer: Starting for path:
2022-10-03T18:53:36.328-0700 [TRACE] Completed graph transform *terraform.ConfigTransformer (no changes)
2022-10-03T18:53:36.328-0700 [TRACE] Executing graph transform *terraform.RootVariableTransformer
2022-10-03T18:53:36.328-0700 [TRACE] Completed graph transform *terraform.RootVariableTransformer (no changes)
2022-10-03T18:53:36.328-0700 [TRACE] Executing graph transform *terraform.ModuleVariableTransformer
2022-10-03T18:53:36.328-0700 [TRACE] Completed graph transform *terraform.ModuleVariableTransformer (no changes)
2022-10-03T18:53:36.328-0700 [TRACE] Executing graph transform *terraform.LocalTransformer
2022-10-03T18:53:36.328-0700 [TRACE] Completed graph transform *terraform.LocalTransformer with new graph:
local.file_content (expand) - *terraform.nodeExpandLocal
local.parsed_content (expand) - *terraform.nodeExpandLocal
------
2022-10-03T18:53:36.328-0700 [TRACE] Executing graph transform *terraform.OutputTransformer
2022-10-03T18:53:36.328-0700 [TRACE] OutputTransformer: adding parsed_content as *terraform.nodeExpandOutput
2022-10-03T18:53:36.328-0700 [TRACE] OutputTransformer: adding file_content as *terraform.nodeExpandOutput
2022-10-03T18:53:36.328-0700 [TRACE] Completed graph transform *terraform.OutputTransformer with new graph:
local.file_content (expand) - *terraform.nodeExpandLocal
local.parsed_content (expand) - *terraform.nodeExpandLocal
output.file_content (expand) - *terraform.nodeExpandOutput
output.parsed_content (expand) - *terraform.nodeExpandOutput
------
2022-10-03T18:53:36.328-0700 [TRACE] Executing graph transform *terraform.OrphanResourceInstanceTransformer
2022-10-03T18:53:36.328-0700 [TRACE] Completed graph transform *terraform.OrphanResourceInstanceTransformer (no changes)
2022-10-03T18:53:36.328-0700 [TRACE] Executing graph transform *terraform.StateTransformer
2022-10-03T18:53:36.328-0700 [TRACE] StateTransformer: pointless no-op call, creating no nodes at all
2022-10-03T18:53:36.328-0700 [TRACE] Completed graph transform *terraform.StateTransformer (no changes)
2022-10-03T18:53:36.328-0700 [TRACE] Executing graph transform *terraform.AttachStateTransformer
2022-10-03T18:53:36.328-0700 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes)
2022-10-03T18:53:36.328-0700 [TRACE] Executing graph transform *terraform.OrphanOutputTransformer
2022-10-03T18:53:36.328-0700 [TRACE] Completed graph transform *terraform.OrphanOutputTransformer (no changes)
2022-10-03T18:53:36.328-0700 [TRACE] Executing graph transform *terraform.AttachResourceConfigTransformer
2022-10-03T18:53:36.328-0700 [TRACE] Completed graph transform *terraform.AttachResourceConfigTransformer (no changes)
2022-10-03T18:53:36.328-0700 [TRACE] Executing graph transform *terraform.graphTransformerMulti
2022-10-03T18:53:36.328-0700 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderConfigTransformer
2022-10-03T18:53:36.328-0700 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderConfigTransformer with new graph:
local.file_content (expand) - *terraform.nodeExpandLocal
local.parsed_content (expand) - *terraform.nodeExpandLocal
output.file_content (expand) - *terraform.nodeExpandOutput
output.parsed_content (expand) - *terraform.nodeExpandOutput
------
2022-10-03T18:53:36.328-0700 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.MissingProviderTransformer
2022-10-03T18:53:36.328-0700 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.MissingProviderTransformer (no changes)
2022-10-03T18:53:36.328-0700 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderTransformer
2022-10-03T18:53:36.328-0700 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderTransformer (no changes)
2022-10-03T18:53:36.328-0700 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.PruneProviderTransformer
2022-10-03T18:53:36.328-0700 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.PruneProviderTransformer (no changes)
2022-10-03T18:53:36.328-0700 [TRACE] Completed graph transform *terraform.graphTransformerMulti (no changes)
2022-10-03T18:53:36.328-0700 [TRACE] Executing graph transform *terraform.RemovedModuleTransformer
2022-10-03T18:53:36.328-0700 [TRACE] Completed graph transform *terraform.RemovedModuleTransformer (no changes)
2022-10-03T18:53:36.328-0700 [TRACE] Executing graph transform *terraform.AttachSchemaTransformer
2022-10-03T18:53:36.328-0700 [TRACE] Completed graph transform *terraform.AttachSchemaTransformer (no changes)
2022-10-03T18:53:36.328-0700 [TRACE] Executing graph transform *terraform.ModuleExpansionTransformer
2022-10-03T18:53:36.328-0700 [TRACE] Completed graph transform *terraform.ModuleExpansionTransformer (no changes)
2022-10-03T18:53:36.328-0700 [TRACE] Executing graph transform *terraform.ReferenceTransformer
2022-10-03T18:53:36.328-0700 [DEBUG] ReferenceTransformer: "local.file_content (expand)" references: []
2022-10-03T18:53:36.328-0700 [DEBUG] ReferenceTransformer: "local.parsed_content (expand)" references: []
2022-10-03T18:53:36.328-0700 [DEBUG] ReferenceTransformer: "output.parsed_content (expand)" references: [local.parsed_content (expand)]
2022-10-03T18:53:36.328-0700 [DEBUG] ReferenceTransformer: "output.file_content (expand)" references: [local.file_content (expand)]
2022-10-03T18:53:36.328-0700 [TRACE] Completed graph transform *terraform.ReferenceTransformer with new graph:
local.file_content (expand) - *terraform.nodeExpandLocal
local.parsed_content (expand) - *terraform.nodeExpandLocal
output.file_content (expand) - *terraform.nodeExpandOutput
local.file_content (expand) - *terraform.nodeExpandLocal
output.parsed_content (expand) - *terraform.nodeExpandOutput
local.parsed_content (expand) - *terraform.nodeExpandLocal
------
2022-10-03T18:53:36.328-0700 [TRACE] Executing graph transform *terraform.AttachDependenciesTransformer
2022-10-03T18:53:36.328-0700 [TRACE] Completed graph transform *terraform.AttachDependenciesTransformer (no changes)
2022-10-03T18:53:36.328-0700 [TRACE] Executing graph transform *terraform.attachDataResourceDependsOnTransformer
2022-10-03T18:53:36.328-0700 [TRACE] Completed graph transform *terraform.attachDataResourceDependsOnTransformer (no changes)
2022-10-03T18:53:36.328-0700 [TRACE] Executing graph transform *terraform.DestroyEdgeTransformer
2022-10-03T18:53:36.328-0700 [TRACE] Completed graph transform *terraform.DestroyEdgeTransformer (no changes)
2022-10-03T18:53:36.328-0700 [TRACE] Executing graph transform *terraform.pruneUnusedNodesTransformer
2022-10-03T18:53:36.328-0700 [TRACE] Completed graph transform *terraform.pruneUnusedNodesTransformer (no changes)
2022-10-03T18:53:36.328-0700 [TRACE] Executing graph transform *terraform.TargetsTransformer
2022-10-03T18:53:36.328-0700 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes)
2022-10-03T18:53:36.328-0700 [TRACE] Executing graph transform *terraform.ForcedCBDTransformer
2022-10-03T18:53:36.329-0700 [TRACE] Completed graph transform *terraform.ForcedCBDTransformer (no changes)
2022-10-03T18:53:36.329-0700 [TRACE] Executing graph transform *terraform.CloseProviderTransformer
2022-10-03T18:53:36.329-0700 [TRACE] Completed graph transform *terraform.CloseProviderTransformer (no changes)
2022-10-03T18:53:36.329-0700 [TRACE] Executing graph transform *terraform.CloseRootModuleTransformer
2022-10-03T18:53:36.329-0700 [TRACE] Completed graph transform *terraform.CloseRootModuleTransformer with new graph:
local.file_content (expand) - *terraform.nodeExpandLocal
local.parsed_content (expand) - *terraform.nodeExpandLocal
output.file_content (expand) - *terraform.nodeExpandOutput
local.file_content (expand) - *terraform.nodeExpandLocal
output.parsed_content (expand) - *terraform.nodeExpandOutput
local.parsed_content (expand) - *terraform.nodeExpandLocal
root - *terraform.nodeCloseModule
output.file_content (expand) - *terraform.nodeExpandOutput
output.parsed_content (expand) - *terraform.nodeExpandOutput
------
2022-10-03T18:53:36.329-0700 [TRACE] Executing graph transform *terraform.TransitiveReductionTransformer
2022-10-03T18:53:36.329-0700 [TRACE] Completed graph transform *terraform.TransitiveReductionTransformer (no changes)
2022-10-03T18:53:36.329-0700 [DEBUG] Starting graph walk: walkValidate
2022-10-03T18:53:36.329-0700 [TRACE] vertex "local.file_content (expand)": starting visit (*terraform.nodeExpandLocal)
2022-10-03T18:53:36.329-0700 [TRACE] vertex "local.file_content (expand)": expanding dynamic subgraph
2022-10-03T18:53:36.329-0700 [TRACE] Expanding local: adding local.file_content as *terraform.NodeLocal
2022-10-03T18:53:36.329-0700 [TRACE] vertex "local.file_content (expand)": entering dynamic subgraph
2022-10-03T18:53:36.329-0700 [TRACE] vertex "local.file_content": starting visit (*terraform.NodeLocal)
2022-10-03T18:53:36.329-0700 [TRACE] vertex "local.parsed_content (expand)": starting visit (*terraform.nodeExpandLocal)
2022-10-03T18:53:36.329-0700 [TRACE] vertex "local.parsed_content (expand)": expanding dynamic subgraph
2022-10-03T18:53:36.329-0700 [TRACE] Expanding local: adding local.parsed_content as *terraform.NodeLocal
2022-10-03T18:53:36.329-0700 [TRACE] vertex "local.parsed_content (expand)": entering dynamic subgraph
2022-10-03T18:53:36.329-0700 [TRACE] vertex "local.parsed_content": starting visit (*terraform.NodeLocal)
2022-10-03T18:53:36.329-0700 [TRACE] vertex "local.file_content": visit complete
2022-10-03T18:53:36.329-0700 [TRACE] vertex "local.file_content (expand)": dynamic subgraph completed successfully
2022-10-03T18:53:36.329-0700 [TRACE] vertex "local.file_content (expand)": visit complete
2022-10-03T18:53:36.329-0700 [TRACE] vertex "output.file_content (expand)": starting visit (*terraform.nodeExpandOutput)
2022-10-03T18:53:36.329-0700 [TRACE] vertex "output.file_content (expand)": expanding dynamic subgraph
2022-10-03T18:53:36.329-0700 [TRACE] Expanding output: adding output.file_content as *terraform.NodeApplyableOutput
2022-10-03T18:53:36.329-0700 [TRACE] vertex "output.file_content (expand)": entering dynamic subgraph
2022-10-03T18:53:36.329-0700 [TRACE] vertex "output.file_content": starting visit (*terraform.NodeApplyableOutput)
2022-10-03T18:53:36.329-0700 [TRACE] setValue: Saving Create change for output.file_content in changeset
2022-10-03T18:53:36.329-0700 [ERROR] vertex "local.parsed_content" error: Error in function call
2022-10-03T18:53:36.329-0700 [TRACE] vertex "local.parsed_content": visit complete, with errors
2022-10-03T18:53:36.329-0700 [TRACE] setValue: Saving value for output.file_content in state
2022-10-03T18:53:36.329-0700 [TRACE] vertex "local.parsed_content (expand)": dynamic subgraph encountered errors: Error in function call
2022-10-03T18:53:36.329-0700 [ERROR] vertex "local.parsed_content (expand)" error: Error in function call
2022-10-03T18:53:36.329-0700 [TRACE] setValue: Saving Create change for output.file_content in changeset
2022-10-03T18:53:36.329-0700 [TRACE] setValue: Saving value for output.file_content in state
2022-10-03T18:53:36.329-0700 [TRACE] vertex "output.file_content": visit complete
2022-10-03T18:53:36.329-0700 [TRACE] vertex "local.parsed_content (expand)": visit complete, with errors
2022-10-03T18:53:36.329-0700 [TRACE] vertex "output.file_content (expand)": dynamic subgraph completed successfully
2022-10-03T18:53:36.329-0700 [TRACE] vertex "output.file_content (expand)": visit complete
2022-10-03T18:53:36.329-0700 [TRACE] dag/walk: upstream of "output.parsed_content (expand)" errored, so skipping
2022-10-03T18:53:36.329-0700 [TRACE] dag/walk: upstream of "root" errored, so skipping
2022-10-03T18:53:36.329-0700 [TRACE] statemgr.Filesystem: removing lock metadata file .terraform.tfstate.lock.info
2022-10-03T18:53:36.329-0700 [TRACE] statemgr.Filesystem: unlocking terraform.tfstate using fcntl flock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment