Skip to content

Commit b0fe31d

Browse files
denikIsaac
andcommitted
bundle: terraform removed in v1.20.0 in the state-removed message
Co-authored-by: Isaac <no-reply@databricks.com>
1 parent 68ffa23 commit b0fe31d

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎bundle/phases/bind.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func Bind(ctx context.Context, b *bundle.Bundle, opts *terraform.BindOptions, st
3333
bundle.ApplyContext(ctx, b, lock.Release(lock.GoalBind))
3434
}()
3535

36-
// The terraform engine was removed in v1.19.0. bind does not migrate on its own, so a
36+
// The terraform engine was removed in v1.20.0. bind does not migrate on its own, so a
3737
// terraform state means the user must migrate first (via "bundle deploy").
3838
if !engine.IsDirect() {
3939
logdiag.LogError(ctx, errors.New(TerraformStateRemovedMessage))
@@ -128,7 +128,7 @@ func Unbind(ctx context.Context, b *bundle.Bundle, tfResourceType, resourceKey s
128128
bundle.ApplyContext(ctx, b, lock.Release(lock.GoalUnbind))
129129
}()
130130

131-
// The terraform engine was removed in v1.19.0. unbind does not migrate on its own, so a
131+
// The terraform engine was removed in v1.20.0. unbind does not migrate on its own, so a
132132
// terraform state means the user must migrate first (via "bundle deploy").
133133
if !engine.IsDirect() {
134134
logdiag.LogError(ctx, errors.New(TerraformStateRemovedMessage))

‎bundle/phases/messages.go‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ const DataLossWarning = "Deleting data assets such as schemas, pipelines, or vol
5757

5858
// TerraformStateRemovedMessage is the error text shown when a command that does not
5959
// migrate on its own (bind, unbind) finds an existing Terraform state. The Terraform
60-
// deployment engine was removed in v1.19.0; "bundle deploy" migrates the state to the
60+
// deployment engine was removed in v1.20.0; "bundle deploy" migrates the state to the
6161
// direct engine or the Terraform engine must be used by running an older CLI version.
62-
const TerraformStateRemovedMessage = `this deployment's state uses the Terraform engine, which has been removed in Databricks CLI v1.19.0
62+
const TerraformStateRemovedMessage = `this deployment's state uses the Terraform engine, which has been removed in Databricks CLI v1.20.0
6363
64-
Run "databricks bundle deploy" to migrate the state to the direct engine, or install Databricks CLI v1.18.x`
64+
Run "databricks bundle deploy" to migrate the state to the direct engine, or install Databricks CLI v1.19.x`
6565

6666
// Messages for bundle destroy.
6767
const (

0 commit comments

Comments
 (0)