databricks-cli/bundle/deploy/terraform
Andrew Nester f7566b8264
Close local Terraform state file when pushing to remote (#752)
## Changes
Close local Terraform state file when pushing to remote

Should help fix E2E test cleanup
```
testing.go:1225: TempDir RemoveAll cleanup: remove 
C:\Users\RUNNER~1\AppData\Local\Temp\TestAccPythonWheelTaskDeployAndRun1395546390\001\.databricks\bundle\default\terraform\terraform.tfstate: 
The process cannot access the file because it is being used by another process.
```
2023-09-08 10:47:17 +00:00
..
apply.go databricks bundle init template v2: optional stubs, DLT support (#700) 2023-09-06 09:52:31 +00:00
convert.go Support Model Serving Endpoints in bundles (#682) 2023-09-07 21:54:31 +00:00
convert_test.go Support Model Serving Endpoints in bundles (#682) 2023-09-07 21:54:31 +00:00
destroy.go Use custom prompter for bundle template inputs (#663) 2023-08-15 14:50:20 +00:00
dir.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
init.go Added end-to-end test for deploying and running Python wheel task (#741) 2023-09-07 14:08:16 +00:00
init_test.go Include $PATH in set of environment variables to pass along. (#736) 2023-09-06 07:54:35 +00:00
interpolate.go Support Model Serving Endpoints in bundles (#682) 2023-09-07 21:54:31 +00:00
load.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
load_test.go Renamed `environments` to `targets` in bundle configuration (#670) 2023-08-17 15:22:32 +00: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 Close local Terraform state file when pushing to remote (#752) 2023-09-08 10:47:17 +00: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 databricks bundle init template v2: optional stubs, DLT support (#700) 2023-09-06 09:52:31 +00:00