diff --git a/pkg/framework/objects/environment/data_source_all_acceptance_test.go b/pkg/framework/objects/environment/data_source_all_acceptance_test.go index d448079..ff93721 100644 --- a/pkg/framework/objects/environment/data_source_all_acceptance_test.go +++ b/pkg/framework/objects/environment/data_source_all_acceptance_test.go @@ -96,7 +96,8 @@ func environments( project_id = dbtcloud_project.test_project2.id depends_on = [dbtcloud_environment.test_environment1, dbtcloud_environment.test_environment2] } - `, randomProjectName1, + `, + randomProjectName1, randomProjectName2, randomEnvironmentName1, acctest_config.AcceptanceTestConfig.DbtCloudVersion, diff --git a/pkg/sdkv2/resources/databricks_credential.go b/pkg/sdkv2/resources/databricks_credential.go index 1df531a..52a21a1 100644 --- a/pkg/sdkv2/resources/databricks_credential.go +++ b/pkg/sdkv2/resources/databricks_credential.go @@ -410,7 +410,7 @@ func resourceDatabricksCredentialUpdateGlobConn( d.Get("catalog").(string), ) - for key, _ := range patchCredentialsDetails.Fields { + for key := range patchCredentialsDetails.Fields { if d.Get(key) == nil || !d.HasChange(key) { delete(patchCredentialsDetails.Fields, key) }