mirror of https://github.com/databricks/cli.git
Upload terraform state even if apply fails (#923)
## Changes Upload terraform state even if apply fails Fixes #893 ## Tests Manually running `databricks bundle deploy` with incorrect permissions in bundle config and observe that it gets uploaded correctly
This commit is contained in:
parent
9b16e9bd45
commit
19e00d2d47
|
@ -29,9 +29,11 @@ func Deploy() bundle.Mutator {
|
|||
terraform.Interpolate(),
|
||||
terraform.Write(),
|
||||
terraform.StatePull(),
|
||||
bundle.Defer(
|
||||
terraform.Apply(),
|
||||
terraform.StatePush(),
|
||||
),
|
||||
),
|
||||
lock.Release(lock.GoalDeploy),
|
||||
),
|
||||
scripts.Execute(config.ScriptPostDeploy),
|
||||
|
|
Loading…
Reference in New Issue