Closed woutkonings closed 11 months ago
As documented here, we only support service connections for the azurerm
backendType
. To do what you're trying to do the backendType
needs to be self-configured.
Closing. Functions as documented. If there is some issue with self-configured
, feel free to re-open.
Describe the bug
Azure DevOps Service Connection authentication stopped working. Current way of authenticating using a service principal keeps giving me the same error:
##[error]Terraform backend initialization for AzureRM only support service principal authorization
To Reproduce
Before I had the current setup:
pipeline:
with main.tf:
Which threw the error:
##[error]Terraform backend initialization for AzureRM only support service principal authorization
This I have now changed to:
pipeline:
main.tf:
as per the latest terraform documentation
Expected behavior
Should be working like this. Getting limited logging form the pipeline task.
Pipeline Logs
##[error]Terraform backend initialization for AzureRM only support service principal authorization
Agent Configuration