Describe the bug
terraform plan runs forever
the issue is from hashicorp/azurerm version = "= 3.44.1" which is too old.
Error: Unable to list provider registration status, it is possible that this is due to invalid credentials or the service principal does not have permission to use the Resource Manager API, Azure error: autorest/Client#Do: Preparing request failed: StatusCode=0 -- Original Error: preparing auxiliary tokens for request: auxiliary tokens not supported in Cloud Shell
To Reproduce
Steps to reproduce the behavior:
Connect to your azure subscription using https://portal.azure.com/
Open Azure Cloud Shell
Create a folder terraform
Create a folder terraform/modules/azure/create-resource-group
4.1. Create a file inside this folder with name main.tf and contents are in Terraform Configuration files of this bug. (File 1)
Create a folder terraform/testrg
5.1 Create a file inside this folder with name main.tf and contents are in Terraform Configuration files of this bug. (File 2)
terraform init
terraform apply
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Describe the bug terraform plan runs forever the issue is from hashicorp/azurerm version = "= 3.44.1" which is too old. Error: Unable to list provider registration status, it is possible that this is due to invalid credentials or the service principal does not have permission to use the Resource Manager API, Azure error: autorest/Client#Do: Preparing request failed: StatusCode=0 -- Original Error: preparing auxiliary tokens for request: auxiliary tokens not supported in Cloud Shell
known issue https://github.com/hashicorp/terraform-provider-azurerm/issues/20674
To Reproduce Steps to reproduce the behavior: Connect to your azure subscription using https://portal.azure.com/ Open Azure Cloud Shell Create a folder terraform Create a folder terraform/modules/azure/create-resource-group 4.1. Create a file inside this folder with name main.tf and contents are in Terraform Configuration files of this bug. (File 1) Create a folder terraform/testrg 5.1 Create a file inside this folder with name main.tf and contents are in Terraform Configuration files of this bug. (File 2) terraform init terraform apply
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.