Azure-Samples/azure-spring-boot-samples

In Windows PowerShell, the sample does not work properly

Closed this issue · 1 comments

When running terraform init in Powershell, I get the following error:

Initializing the backend...

Initializing provider plugins...
- Finding hashicorp/azurerm versions matching ">= 2.75.0"...
- Finding aztfmod/azurecaf versions matching "1.2.10"...
- Installing hashicorp/azurerm v2.93.1...
- Installing aztfmod/azurecaf v1.2.10...
╷
│ Error: Failed to install provider
│
│ Error while installing hashicorp/azurerm v2.93.1: mkdir .terraform: The filename or extension is too long.
╵

╷
│ Error: Failed to install provider
│
│ Error while installing aztfmod/azurecaf v1.2.10: mkdir .terraform: The filename or extension is too long.
╵

Not getting this error after upgrading Terraform to the latest version.