Skip to content

Commit

Permalink
clean state
Browse files Browse the repository at this point in the history
  • Loading branch information
jdocampo committed Dec 21, 2022
1 parent b4610c1 commit 4e2dc12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions terraform/databricks/test/unit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ func TestModule(t *testing.T) {

// At the end of the test, run `terraform destroy` to clean up any resources that were created
defer terraform.Destroy(t, terraformOptions)
// At the end of the test, run `terraform state rm module.databricks.databricks_workspace_conf.adb_ws_conf` to clean up state for workspace config
defer terraform.RunTerraformCommand(t, terraformOptions, terraform.FormatArgs(terraformOptions, "state", "rm", "module.databricks.databricks_workspace_conf.adb_ws_conf")...)

// Is used mainly for debugging, fail early if plan is not possible
terraform.InitAndPlan(t, terraformOptions)
Expand Down

0 comments on commit 4e2dc12

Please sign in to comment.