I'm trying to pass the databricks workspace name that is generated from the terraform deployment with Azure DevOps to another step as a variable but not sure how to do.
So I defined the output in my output.tf
output "workspace_name" {
value = azurerm_databricks_workspace.databricks.name
}
and I can see the output :
and going through stackoverflow, there is a solution to make all of your outputs as variables automatically:
1- configure output variable:
2- configure powershell script to get them and populate it
3- now what ? what will the variable name be, and how can I use it in the Databricks Bearer Token solution ?
workspace_name
– 4c74356b41