Skip to content

Commit afcb995

Browse files
Update the Learn more link for DATABRICKS_BUNDLE_ENGINE (#4770)
## Changes Update the link for learning more about `DATABRICKS_BUNDLE_ENGINE` (terraform vs direct) from https://docs.databricks.com/dev-tools/bundles/deployment-modes.html to https://docs.databricks.com/dev-tools/bundles/direct ## Why Wrong link, caused confusion ## Tests Updated acceptance test too ``` % cd acceptance/bundle/resources/catalogs/basic % DATABRICKS_BUNDLE_ENGINE=terraform databricks bundle plan Error: Catalog resources are only supported with direct deployment mode in databricks.yml:9:5 Catalog resources require direct deployment mode. Please set the DATABRICKS_BUNDLE_ENGINE environment variable to 'direct' to use catalog resources. Learn more at https://docs.databricks.com/dev-tools/bundles/direct ```
1 parent 11d7a00 commit afcb995

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

acceptance/bundle/validate/catalog_requires_direct_mode/output.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Error: Catalog resources are only supported with direct deployment mode
22
in databricks.yml:6:5
33

44
Catalog resources require direct deployment mode. Please set the DATABRICKS_BUNDLE_ENGINE environment variable to 'direct' to use catalog resources.
5-
Learn more at https://docs.databricks.com/dev-tools/bundles/deployment-modes.html
5+
Learn more at https://docs.databricks.com/dev-tools/bundles/direct
66

77

88
Exit code: 1

bundle/config/mutator/validate_direct_only_resources.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func (m *validateDirectOnlyResources) Apply(ctx context.Context, b *bundle.Bundl
7373
Summary: resource.pluralName + " resources are only supported with direct deployment mode",
7474
Detail: fmt.Sprintf("%s resources require direct deployment mode. "+
7575
"Please set the DATABRICKS_BUNDLE_ENGINE environment variable to 'direct' to use %s resources.\n"+
76-
"Learn more at https://docs.databricks.com/dev-tools/bundles/deployment-modes.html",
76+
"Learn more at https://docs.databricks.com/dev-tools/bundles/direct",
7777
resource.pluralName, resource.singularName),
7878
Locations: b.Config.GetLocations("resources." + resource.resourceType),
7979
})

0 commit comments

Comments
 (0)