Skip to content

Commit 790b3bc

Browse files
authored
fixed RANDOM in names (#5499)
## Changes Substituted `RANDOM` to `STICKY_RANDOM` as this was introducing unnecessary updates which were hiding the real thing to be tested. ## Tests N/A - [ ] `make test` run locally - [ ] relevant change in `docs/` folder - [ ] covered with integration tests in `internal/acceptance` - [ ] using Go SDK - [ ] using TF Plugin Framework - [ ] has entry in `NEXT_CHANGELOG.md` file NO_CHANGELOG=true
1 parent 72c59c3 commit 790b3bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jobs/job_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func jobClusterTemplate(provider_config string) string {
2929
}
3030
3131
resource "databricks_notebook" "this" {
32-
path = "${data.databricks_current_user.me.home}/Terraform{var.RANDOM}"
32+
path = "${data.databricks_current_user.me.home}/Terraform{var.STICKY_RANDOM}"
3333
language = "PYTHON"
3434
content_base64 = base64encode(<<-EOT
3535
# created from ${abspath(path.module)}
@@ -39,7 +39,7 @@ func jobClusterTemplate(provider_config string) string {
3939
}
4040
4141
resource "databricks_job" "this" {
42-
name = "{var.RANDOM}"
42+
name = "{var.STICKY_RANDOM}"
4343
4444
%s
4545

0 commit comments

Comments
 (0)