Skip to content

bundle: point at DATABRICKS_BUNDLE_ENGINE in the terraform removal error - #6951

Merged
denik merged 4 commits into
mainfrom
denik/engine-env-message
Oct 6, 2026
Merged

denik merged 4 commits into
mainfrom
denik/engine-env-message

Conversation

@denik

@denik denik commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

With DATABRICKS_BUNDLE_ENGINE=terraform and no bundle.engine in the config, the Terraform removal error told users to remove the bundle.engine setting. It now tells them to unset the env var. bundle.engine takes priority over the env var, so it is still the one named when both are set to terraform.

This pull request and its description were written by Isaac.

@github-actions github-actions Bot added the DABs DABs related issues label Oct 6, 2026
denik and others added 3 commits October 6, 2026 19:28
When only the env var asks for terraform, the error told users to remove
the bundle.engine setting, which they don't have. Name the env var
instead. bundle.engine takes priority, so it is still the one named when
both are set.

Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>
Rename TerraformRemovedDetail/Message to TerraformRemovedConfigDetail/Message
to pair with the Env variant, and show in engine-config-valid that the config
setting is named when both bundle.engine and the env var say terraform.

Co-authored-by: Isaac <no-reply@databricks.com>
@denik
denik force-pushed the denik/engine-env-message branch from 35b4340 to ea2f8fb Compare October 6, 2026 17:28
@denik
denik marked this pull request as ready for review October 6, 2026 17:38
@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: e9c9f28

Run: 37541952482

Env ✅​pass 🙈​skip Time
✅​ aws linux 285 28 5:26
✅​ aws windows 284 27 5:40
✅​ azure linux 284 28 5:18
✅​ azure windows 283 27 3:20
✅​ gcp linux 285 28 5:14
✅​ gcp windows 284 27 6:20
Top 6 slowest tests (at least 2 minutes):
duration env testname
3:56 aws linux TestAccept
3:53 azure linux TestAccept
3:51 gcp linux TestAccept
3:13 azure windows TestAccept
3:07 gcp windows TestAccept
3:05 aws windows TestAccept

The removal error is new in the unreleased 1.20.0, so there is no released
behaviour to describe as changed.

Co-authored-by: Isaac <no-reply@databricks.com>
@denik
denik enabled auto-merge October 6, 2026 22:39
@denik
denik added this pull request to the merge queue Oct 6, 2026
Merged via the queue into main with commit 9318626 Oct 6, 2026
27 checks passed
@denik
denik deleted the denik/engine-env-message branch October 6, 2026 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DABs DABs related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants