databricks-cli/bundle/deploy/terraform
Gleb Kanterov 179154477e
Propagate TF_CLI_CONFIG_FILE env variable (#555)
## Changes
Propagate `TF_CLI_CONFIG_FILE` env variable.

From Terraform documentation:

> The location of the Terraform CLI configuration file can also be
specified using the TF_CLI_CONFIG_FILE [environment
variable](https://developer.hashicorp.com/terraform/cli/config/environment-variables)

It allows using custom builds of terraform-provider-databricks, using
config files like:

```tf
provider_installation {
  dev_overrides {
    "databricks/databricks" = "/Users/gleb.kanterov/terraform-provider-databricks"
  }

  direct {}
}
```

## Tests
I added unit tests.
2023-07-07 13:20:37 +02:00
..
apply.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
convert.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
convert_test.go Bump Go SDK to v0.12.0 (#540) 2023-07-03 11:46:45 +02:00
destroy.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
dir.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
init.go Propagate TF_CLI_CONFIG_FILE env variable (#555) 2023-07-07 13:20:37 +02:00
init_test.go Propagate TF_CLI_CONFIG_FILE env variable (#555) 2023-07-07 13:20:37 +02:00
interpolate.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
load.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
load_test.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
pkg.go Add mutators to pull and push Terraform state (#288) 2023-03-30 12:01:09 +02:00
plan.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
state_pull.go Allow equivalence checking of filer errors to fs errors (#416) 2023-05-31 20:47:00 +02:00
state_push.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
util.go Do not truncate local state file when pulling remote changes (#382) 2023-05-16 17:02:33 +02:00
util_test.go Do not truncate local state file when pulling remote changes (#382) 2023-05-16 17:02:33 +02:00
write.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00