databricks-cli/bundle/deploy/terraform
Pieter Noordhuis 42d29f92c9
Pass through $HOME when invoking Terraform (#319)
## Changes

This is useful when developing the Databricks Terraform provider where
you keep a local-only build of the provider and refer to it using $HOME
from `~/.terraformrc`, for example like this:

```
plugin_cache_dir = "$HOME/.terraform.d/plugin-cache"
```

## Tests

That $HOME is passed through cannot be tested as is because the
`tfexec.Terraform` struct doesn't expose it through public fields or
methods. What can be tested is a successful run of the initialize
mutator and this is included in this commit.
2023-04-11 13:11:31 +02:00
..
apply.go Automatically install Terraform if needed (#141) 2022-12-15 17:30:33 +01:00
convert.go Ignore databricks_permissions resource when loading Terraform state (#291) 2023-03-29 21:14:52 +02:00
convert_test.go Allow use of file library in pipeline (#308) 2023-04-05 16:29:42 +02:00
destroy.go Add bundle destroy command (#300) 2023-04-06 12:54:58 +02:00
dir.go Automatically install Terraform if needed (#141) 2022-12-15 17:30:33 +01:00
init.go Pass through $HOME when invoking Terraform (#319) 2023-04-11 13:11:31 +02:00
init_test.go Pass through $HOME when invoking Terraform (#319) 2023-04-11 13:11:31 +02:00
interpolate.go Add resources for mlflow models and experiments (#263) 2023-03-20 21:28:43 +01:00
load.go Add mutators to pull and push Terraform state (#288) 2023-03-30 12:01:09 +02:00
pkg.go Add mutators to pull and push Terraform state (#288) 2023-03-30 12:01:09 +02:00
plan.go Add bundle destroy command (#300) 2023-04-06 12:54:58 +02:00
state_pull.go Add mutators to pull and push Terraform state (#288) 2023-03-30 12:01:09 +02:00
state_push.go Add mutators to pull and push Terraform state (#288) 2023-03-30 12:01:09 +02:00
write.go Mutators to work with Terraform (#124) 2022-12-09 08:57:30 +01:00