Azure/azure-sdk-for-java

In Windows PowerShell, the sample does not work properly

Closed this issue · 3 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.

Hi @hui1110. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text “/unresolve” to remove the “issue-addressed” label and continue the conversation.

issue fixed.