Skip to content

bundle: pass bundle resource groups to bind/unbind directly - #6947

Merged
denik merged 1 commit into
mainfrom
denik/tf-cleanup-bind
Oct 6, 2026
Merged

denik merged 1 commit into
mainfrom
denik/tf-cleanup-bind

Conversation

@denik

@denik denik commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

bundle deployment bind, bundle deployment unbind and apps import converted the bundle resource group (e.g. jobs) to a Terraform resource type, and phases.Bind / phases.Unbind immediately converted it back. The mapping is one-to-one, so the round trip was a no-op left over from the terraform engine. Pass the group straight through.

Also moves BindOptions from bundle/deploy/terraform/import.go (its only content) next to phases.Bind, with ResourceType renamed to Group. The guards that refuse bind/unbind on a terraform state are unchanged.

This pull request and its description were written by Isaac.

The bind, unbind and apps import commands converted the resource group to a
Terraform resource type, and phases.Bind/Unbind immediately converted it back.
Pass the group straight through and move BindOptions next to phases.Bind.

Co-authored-by: Isaac <no-reply@databricks.com>
@github-actions github-actions Bot added the DABs DABs related issues label Oct 6, 2026
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 5ae4b06

Run: 37468099150

Env 🔄​flaky ✅​pass 🙈​skip Time
✅​ aws linux 276 16 10:05
✅​ aws windows 278 14 6:18
✅​ azure linux 275 16 10:45
✅​ azure windows 277 14 5:51
✅​ gcp linux 276 16 9:43
🔄​ gcp windows 2 276 14 6:38
Test Name gcp windows
🔄​ TestFilerWorkspaceNotebook 🔄​f
🔄​ TestFilerWorkspaceNotebook/sqlNb.sql 🔄​f
Top 8 slowest tests (at least 2 minutes):
duration env testname
3:51 azure linux TestAccept
3:50 gcp linux TestAccept
3:49 aws linux TestAccept
3:42 gcp windows TestAccept
3:10 aws windows TestAccept
3:05 azure windows TestAccept
2:53 azure linux TestFilerWorkspaceFilesExtensionsRead
2:07 azure linux TestFilerWorkspaceFilesExtensionsReadDir

@denik
denik marked this pull request as ready for review October 6, 2026 13:30
@denik
denik requested review from a team as code owners October 6, 2026 13:30
@denik
denik requested a review from shreyas-goenka October 6, 2026 13:30
@denik
denik added this pull request to the merge queue Oct 6, 2026
Merged via the queue into main with commit 755fb9f Oct 6, 2026
25 checks passed
@denik
denik deleted the denik/tf-cleanup-bind branch October 6, 2026 17:23
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