Skip to content

Commit 8926051

Browse files
committed
update message
1 parent 6598dc5 commit 8926051

File tree

3 files changed

+11
-15
lines changed

3 files changed

+11
-15
lines changed

acceptance/bundle/help/bundle-deployment-migrate/output.txt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11

22
>>> [CLI] bundle deployment migrate --help
3-
Migrate bundle resources from Terraform deployment to Direct deployment.
4-
53
This command converts your bundle from using Terraform for deployment to using
64
the Direct deployment engine. It reads resource IDs from the existing Terraform
75
state and creates a Direct deployment state file (resources.json) with the same
86
lineage and incremented serial number.
97

10-
WIP:
11-
TODO:
12-
- permissions support
13-
- lock & update state remotely.
8+
Note, the migration is performed locally only. To finalize it, run 'bundle deploy'. This will synchronize the state file
9+
to the workspace so that subsequent deploys of this bundle use direct deployment engine as well.
10+
11+
WARNING: Both direct deployment engine and this command are experimental and not recommended for production targets yet.
1412

1513
Usage:
1614
databricks bundle deployment migrate [flags]

acceptance/bundle/help/bundle-deployment/output.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Usage:
2121

2222
Available Commands:
2323
bind Bind bundle-defined resources to existing resources
24-
migrate Migrate from Terraform to Direct deployment
24+
migrate Migrate from Terraform to Direct deployment engine
2525
unbind Unbind bundle-defined resources from its managed remote resource
2626

2727
Flags:

cmd/bundle/deployment/migrate.go

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,16 @@ import (
1717
func newMigrateCommand() *cobra.Command {
1818
cmd := &cobra.Command{
1919
Use: "migrate",
20-
Short: "Migrate from Terraform to Direct deployment",
21-
Long: `Migrate bundle resources from Terraform deployment to Direct deployment.
22-
23-
This command converts your bundle from using Terraform for deployment to using
20+
Short: "Migrate from Terraform to Direct deployment engine",
21+
Long: `This command converts your bundle from using Terraform for deployment to using
2422
the Direct deployment engine. It reads resource IDs from the existing Terraform
2523
state and creates a Direct deployment state file (resources.json) with the same
2624
lineage and incremented serial number.
2725
28-
WIP:
29-
TODO:
30-
- permissions support
31-
- lock & update state remotely.
26+
Note, the migration is performed locally only. To finalize it, run 'bundle deploy'. This will synchronize the state file
27+
to the workspace so that subsequent deploys of this bundle use direct deployment engine as well.
28+
29+
WARNING: Both direct deployment engine and this command are experimental and not recommended for production targets yet.
3230
`,
3331
Args: root.NoArgs,
3432
}

0 commit comments

Comments
 (0)