You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR:
Error: cannot create secret scope: Scope with Azure KeyVault must have userAADToken defined!
│
│ with module.dbw.databricks_secret_scope.kv,
│ on module/secret_scope.tf line 17, in resource "databricks_secret_scope" "kv":
│ 17: resource "databricks_secret_scope" "kv" {
ERROR:
Error: cannot create secret scope: Scope with Azure KeyVault must have userAADToken defined!
│
│ with module.dbw.databricks_secret_scope.kv,
│ on module/secret_scope.tf line 17, in resource "databricks_secret_scope" "kv":
│ 17: resource "databricks_secret_scope" "kv" {
Important Factoids
Would you like to implement a fix?
The text was updated successfully, but these errors were encountered:
To create a secret scope from Azure Key Vault, you must use one of the Azure-specific authentication methods. Secret scopes backed by Azure Key Vault cannot be created using personal access tokens (PAT).
Described issue
Error while creating the databricks_secret_scope in terraform as follows below .
The provider used is the databricks provider https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/secret_scope
ERROR:
Error: cannot create secret scope: Scope with Azure KeyVault must have userAADToken defined!
│
│ with module.dbw.databricks_secret_scope.kv,
│ on module/secret_scope.tf line 17, in resource "databricks_secret_scope" "kv":
│ 17: resource "databricks_secret_scope" "kv" {
Configuration
Expected Behavior
The databricks resource should be deployed without issues
Actual Behavior
The resource got the described error while trying to deploy
Steps to Reproduce
terragrunt run-all plan
terragrunt run-all apply
Terraform and provider versions
https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/secret_scope
Terraform 0.13+
terraform {
required_providers {
databricks = {
source = "databricks/databricks"
version = "1.59.0"
}
}
}
Is it a regression?
Debug Output
ERROR:
Error: cannot create secret scope: Scope with Azure KeyVault must have userAADToken defined!
│
│ with module.dbw.databricks_secret_scope.kv,
│ on module/secret_scope.tf line 17, in resource "databricks_secret_scope" "kv":
│ 17: resource "databricks_secret_scope" "kv" {
Important Factoids
Would you like to implement a fix?
The text was updated successfully, but these errors were encountered: