Terraform Init Uses Enterprise Application ID Instead of Service Principal Client ID
I’m trying to run the terraform init
command, but it’s behaving strangely.
Terraform state file in different subscription: ERROR: Please run ‘az login’ to setup account
I am working with Terraform in an Azure DevOps pipeline and I need to initialize Terraform with backend configuration parameters. Here is my Terraform configuration: