Skip to content

Instantly share code, notes, and snippets.

@SarahFrench
Created February 8, 2023 17:20
Show Gist options
  • Save SarahFrench/7e1fda557400cca155169ff169685ed8 to your computer and use it in GitHub Desktop.
Save SarahFrench/7e1fda557400cca155169ff169685ed8 to your computer and use it in GitHub Desktop.
In this example, `TF_CLI_CONFIG_FILE` is set to point at an existing file but it's using `~`
$ TF_LOG=trace TF_CLI_CONFIG_FILE="~/tfc-test-repos/tf-goog-manual-tests/dev.tfrc" terraform plan
2023-02-08T17:19:13.285Z [INFO] Terraform version: 1.3.5 dev
2023-02-08T17:19:13.285Z [DEBUG] using github.com/hashicorp/go-tfe v1.9.0
2023-02-08T17:19:13.285Z [DEBUG] using github.com/hashicorp/hcl/v2 v2.15.0
2023-02-08T17:19:13.285Z [DEBUG] using github.com/hashicorp/terraform-config-inspect v0.0.0-20210209133302-4fd17a0faac2
2023-02-08T17:19:13.285Z [DEBUG] using github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734
2023-02-08T17:19:13.285Z [DEBUG] using github.com/zclconf/go-cty v1.12.1
2023-02-08T17:19:13.285Z [INFO] Go runtime version: go1.18.3
2023-02-08T17:19:13.285Z [INFO] CLI args: []string{"terraform", "plan"}
2023-02-08T17:19:13.286Z [TRACE] Stdout is a terminal of width 171
2023-02-08T17:19:13.286Z [TRACE] Stderr is a terminal of width 171
2023-02-08T17:19:13.286Z [TRACE] Stdin is a terminal
2023-02-08T17:19:13.286Z [DEBUG] Attempting to open CLI config file: ~/tfc-test-repos/tf-goog-manual-tests/dev.tfrc
2023-02-08T17:19:13.286Z [DEBUG] Not reading CLI config directory because config location is overridden by environment variable
2023-02-08T17:19:13.286Z [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2023-02-08T17:19:13.286Z [DEBUG] ignoring non-existing provider search directory /Users/sarahfrench/.terraform.d/plugins
2023-02-08T17:19:13.286Z [DEBUG] ignoring non-existing provider search directory /Users/sarahfrench/Library/Application Support/io.terraform/plugins
2023-02-08T17:19:13.286Z [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2023-02-08T17:19:13.287Z [INFO] CLI command args: []string{"plan"}
2023-02-08T17:19:13.291Z [TRACE] Meta.Backend: no config given or present on disk, so returning nil config
2023-02-08T17:19:13.291Z [TRACE] Meta.Backend: backend has not previously been initialized in this working directory
2023-02-08T17:19:13.291Z [DEBUG] New state was assigned lineage "db76a51a-d64e-cf95-d240-70c0ebf1b9b5"
2023-02-08T17:19:13.291Z [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
2023-02-08T17:19:13.291Z [TRACE] Meta.Backend: instantiated backend of type <nil>
2023-02-08T17:19:13.291Z [TRACE] providercache.fillMetaCache: scanning directory .terraform/providers
2023-02-08T17:19:13.291Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/google v4.51.0 for darwin_arm64 at .terraform/providers/registry.terraform.io/hashicorp/google/4.51.0/darwin_arm64
2023-02-08T17:19:13.291Z [TRACE] providercache.fillMetaCache: including .terraform/providers/registry.terraform.io/hashicorp/google/4.51.0/darwin_arm64 as a candidate package for registry.terraform.io/hashicorp/google 4.51.0
2023-02-08T17:19:13.359Z [DEBUG] checking for provisioner in "."
2023-02-08T17:19:13.360Z [DEBUG] checking for provisioner in "/Users/sarahfrench/go/bin"
2023-02-08T17:19:13.360Z [TRACE] Meta.Backend: backend <nil> does not support operations, so wrapping it in a local backend
2023-02-08T17:19:13.362Z [INFO] backend/local: starting Plan operation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment