databricks-cli/bundle/deploy/terraform
Andrew Nester 33fb0b3c40
Do not truncate local state file when pulling remote changes (#382)
## Changes
When local state file exists it won't be override by remote state file

## Tests
Running `bricks bundle deploy` after state push failed does not override
local state file

Use cases verified:
1. Local state file is newer than remote
2. Local state file is older than remote
3. Local state file does not exist
4. Local state file corrupted
2023-05-16 17:02:33 +02:00
..
apply.go Log mutator messages using progress logger (#312) 2023-04-18 16:55:06 +02:00
convert.go Improved error message when 'bricks bundle run' is executed before 'bricks bundle deploy' (#378) 2023-05-10 11:02:25 +02:00
convert_test.go Update to Go SDK v0.8.0 (#351) 2023-04-21 10:30:20 +02:00
destroy.go Log mutator messages using progress logger (#312) 2023-04-18 16:55:06 +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 Improved error message when 'bricks bundle run' is executed before 'bricks bundle deploy' (#378) 2023-05-10 11:02:25 +02:00
load_test.go Improved error message when 'bricks bundle run' is executed before 'bricks bundle deploy' (#378) 2023-05-10 11:02:25 +02:00
pkg.go Add mutators to pull and push Terraform state (#288) 2023-03-30 12:01:09 +02:00
plan.go Log mutator messages using progress logger (#312) 2023-04-18 16:55:06 +02:00
state_pull.go Do not truncate local state file when pulling remote changes (#382) 2023-05-16 17:02:33 +02:00
state_push.go Make all workspace paths string fields (#327) 2023-04-12 16:54:36 +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 Mutators to work with Terraform (#124) 2022-12-09 08:57:30 +01:00