This occurs after I upgrade my project from 1.27 version of azurerm provider to version 2.9.0. The full error message is below. All I have to do get this to work once again is pin the version of the provider to 1.27 and comment out the features {} block, which was introduced in the newer version of the provider; then simply run terraform init
. After terraform init
completes I’m then able to run a plan or apply as expected. Is anyone else experiencing this problem? I can’t seem to find a solution using the Googles.
Error building account: Error getting authenticated object ID: Error parsing json result from the Azure CLI: Error waiting for the Azure CLI: exit status 1
on main.tf line 1, in provider “azurerm”: