mirror of https://github.com/databricks/cli.git
Skip pushing Terraform state after destroy (#1667)
## Changes Following up https://github.com/databricks/cli/pull/1583#discussion_r1681126323. We can skip pushing because right after `root_path` is deleted, making this a no-op effectively. ## Tests
This commit is contained in:
parent
0a4c0fb588
commit
1b984b4f62
|
@ -83,7 +83,6 @@ func Destroy() bundle.Mutator {
|
||||||
// Core destructive mutators for destroy. These require informed user consent.
|
// Core destructive mutators for destroy. These require informed user consent.
|
||||||
destroyCore := bundle.Seq(
|
destroyCore := bundle.Seq(
|
||||||
terraform.Apply(),
|
terraform.Apply(),
|
||||||
terraform.StatePush(),
|
|
||||||
files.Delete(),
|
files.Delete(),
|
||||||
bundle.LogString("Destroy complete!"),
|
bundle.LogString("Destroy complete!"),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue