Open rjosephp opened 3 months ago
You might want to try adding
backendAzureRmUseEnvironmentVariablesForAuthentication: true
Check that your storage account has public access enabled?
We are also facing the same issue while accessing the azure databricks workspace, the databricks workspace has also disabled public network access. But we have private endpoints to connect the azure databricks workspace.
Terraform version : 2.203.0
You might want to try adding
backendAzureRmUseEnvironmentVariablesForAuthentication: true
backendAzureRmUseEnvironmentVariablesForAuthentication: true
is correct and works supplying the command line option: -backend-config=use_azuread_auth=true
When using a pipeline variable ensure it's a string type, not boolean.
parameters:
- name: backendAzureRmUseEntraIdForAuthentication
type: string
default: false
steps
- task: TerraformTaskV4@4
displayName: Terraform Init
inputs:
provider: azurerm
command: init
// other parameters
backendAzureRmUseEntraIdForAuthentication: ${{ parameters.backendAzureRmUseEntraIdForAuthentication }}
Discussed in https://github.com/microsoft/azure-pipelines-terraform/discussions/230