Skip to content

Instantly share code, notes, and snippets.

@SarahFrench
Created February 8, 2023 17:18
Show Gist options
  • Save SarahFrench/ec5c2960df30f7b7c98a8ee99a686b39 to your computer and use it in GitHub Desktop.
Save SarahFrench/ec5c2960df30f7b7c98a8ee99a686b39 to your computer and use it in GitHub Desktop.
In this example, `TF_CLI_CONFIG_FILE` is set to point at an existing file
In this example, `TF_CLI_CONFIG_FILE` is set to point at an existing file
$ TF_LOG=trace TF_CLI_CONFIG_FILE="/Users/sarahfrench/tfc-test-repos/tf-goog-manual-tests/dev.tfrc" terraform plan
2023-02-08T17:11:47.825Z [INFO] Terraform version: 1.3.5 dev
2023-02-08T17:11:47.827Z [DEBUG] using github.com/hashicorp/go-tfe v1.9.0
2023-02-08T17:11:47.827Z [DEBUG] using github.com/hashicorp/hcl/v2 v2.15.0
2023-02-08T17:11:47.827Z [DEBUG] using github.com/hashicorp/terraform-config-inspect v0.0.0-20210209133302-4fd17a0faac2
2023-02-08T17:11:47.827Z [DEBUG] using github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734
2023-02-08T17:11:47.827Z [DEBUG] using github.com/zclconf/go-cty v1.12.1
2023-02-08T17:11:47.827Z [INFO] Go runtime version: go1.18.3
2023-02-08T17:11:47.827Z [INFO] CLI args: []string{"terraform", "plan"}
2023-02-08T17:11:47.827Z [TRACE] Stdout is a terminal of width 171
2023-02-08T17:11:47.827Z [TRACE] Stderr is a terminal of width 171
2023-02-08T17:11:47.828Z [TRACE] Stdin is a terminal
2023-02-08T17:11:47.828Z [DEBUG] Attempting to open CLI config file: /Users/sarahfrench/tfc-test-repos/tf-goog-manual-tests/dev.tfrc
2023-02-08T17:11:47.828Z [INFO] Loading CLI configuration from /Users/sarahfrench/tfc-test-repos/tf-goog-manual-tests/dev.tfrc
2023-02-08T17:11:47.828Z [DEBUG] Not reading CLI config directory because config location is overridden by environment variable
2023-02-08T17:11:47.828Z [DEBUG] Explicit provider installation configuration is set
2023-02-08T17:11:47.828Z [TRACE] Selected provider installation method cliconfig.ProviderInstallationDirect with includes [] and excludes []
2023-02-08T17:11:47.829Z [INFO] CLI command args: []string{"plan"}
2023-02-08T17:11:47.833Z [TRACE] Meta.Backend: no config given or present on disk, so returning nil config
2023-02-08T17:11:47.833Z [TRACE] Meta.Backend: backend has not previously been initialized in this working directory
2023-02-08T17:11:47.833Z [DEBUG] New state was assigned lineage "40282e8f-642f-b992-6690-c23ba1a59dc3"
2023-02-08T17:11:47.833Z [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
2023-02-08T17:11:47.833Z [TRACE] Meta.Backend: instantiated backend of type <nil>
2023-02-08T17:11:47.834Z [DEBUG] Provider registry.terraform.io/hashicorp/google is overridden by dev_overrides
2023-02-08T17:11:47.834Z [DEBUG] Provider registry.terraform.io/hashicorp/google-beta is overridden by dev_overrides
2023-02-08T17:11:47.834Z [DEBUG] Provider registry.terraform.io/hashicorp/google is overridden to load from /Users/sarahfrench/go/bin
2023-02-08T17:11:47.834Z [DEBUG] Provider registry.terraform.io/hashicorp/google-beta is overridden to load from /Users/sarahfrench/go/bin
2023-02-08T17:11:47.834Z [DEBUG] checking for provisioner in "."
2023-02-08T17:11:47.834Z [DEBUG] checking for provisioner in "/Users/sarahfrench/go/bin"
2023-02-08T17:11:47.834Z [TRACE] Meta.Backend: backend <nil> does not support operations, so wrapping it in a local backend
2023-02-08T17:11:47.834Z [DEBUG] Provider registry.terraform.io/hashicorp/google is overridden by dev_overrides
2023-02-08T17:11:47.834Z [DEBUG] Provider registry.terraform.io/hashicorp/google-beta is overridden by dev_overrides
│ Warning: Provider development overrides are in effect
│ The following provider development overrides are set in the CLI configuration:
│ - hashicorp/google in /Users/sarahfrench/go/bin
│ - hashicorp/google-beta in /Users/sarahfrench/go/bin
│ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases.
2023-02-08T17:11:47.835Z [INFO] backend/local: starting Plan operation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment