You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: Migration should be done after a full deploy. Running plan now to verify that deployment was done:
10
+
Plan: 0 to add, 0 to change, 0 to delete, 1 unchanged
11
+
Migrated 1 resources to direct engine state file: [TEST_TMP_DIR]/.databricks/bundle/dev/resources.json
12
+
13
+
Validate the migration by running "databricks bundle plan -p non_existent321", there should be no actions planned.
14
+
15
+
The state file is not synchronized to the workspace yet. To do that and finalize the migration, run "bundle deploy -p non_existent321".
16
+
17
+
To undo the migration, remove [TEST_TMP_DIR]/.databricks/bundle/dev/resources.json and rename [TEST_TMP_DIR]/.databricks/bundle/dev/terraform/terraform.tfstate.backup to [TEST_TMP_DIR]/.databricks/bundle/dev/terraform/terraform.tfstate
Note: Migration should be done after a full deploy. Running plan now to verify that deployment was done:
28
+
Plan: 0 to add, 0 to change, 0 to delete, 2 unchanged
29
+
Migrated 2 resources to direct engine state file: [TEST_TMP_DIR]/.databricks/bundle/prod/resources.json
30
+
31
+
Validate the migration by running "databricks bundle plan -t prod -p non_existent321", there should be no actions planned.
32
+
33
+
The state file is not synchronized to the workspace yet. To do that and finalize the migration, run "bundle deploy -t prod -p non_existent321".
34
+
35
+
To undo the migration, remove [TEST_TMP_DIR]/.databricks/bundle/prod/resources.json and rename [TEST_TMP_DIR]/.databricks/bundle/prod/terraform/terraform.tfstate.backup to [TEST_TMP_DIR]/.databricks/bundle/prod/terraform/terraform.tfstate
returnfmt.Errorf("cannot parse 'databricks bundle plan%s' output, aborting migration. Skip plan check with --noplancheck option", targetArgs)
64
+
returnfmt.Errorf("cannot parse 'databricks bundle plan%s' output, aborting migration. Skip plan check with --noplancheck option", extraArgsStr)
69
65
}
70
66
71
67
if!strings.Contains(output, "Plan: 0 to add, 0 to change, 0 to delete") {
72
-
returnfmt.Errorf("'databricks bundle plan%s' shows actions planned, aborting migration. Please run 'databricks bundle deploy%s' first to ensure your bundle is up to date, If actions persist after deploy, skip plan check with --noplancheck option", targetArgs, targetArgs)
68
+
returnfmt.Errorf("'databricks bundle plan%s' shows actions planned, aborting migration. Please run 'databricks bundle deploy%s' first to ensure your bundle is up to date, If actions persist after deploy, skip plan check with --noplancheck option", extraArgsStr, extraArgsStr)
0 commit comments