OS : Windows 10
I have made configuration for using cache provider as per described in official link : CLI Configuration | Terraform | HashiCorp Developer
ISSUE
When i do terraform init, it shows the following error
Successfully configured the backend “s3”! Terraform will automatically
use this backend unless the backend configuration changes.
Initializing provider plugins…
- terraform.io/builtin/terraform is built in to Terraform
- Finding latest version of hashicorp/aws…
- Installing hashicorp/aws v4.60.0…
╷
│ Error: Failed to install provider
│
│ Error while installing hashicorp/aws v4.60.0: failed to create directory
│ C:\Users\a18.kaushik\Desktop.terraform\providers\registry.terraform.io\hashicorp\aws\4.60.0\windows_amd64:
│ mkdir
│ C:\Users\a18.kaushik\Desktop.terraform\providers\registry.terraform.io\hashicorp\aws\4.60.0\windows_amd64:
│ Cannot create a file when that file already exists.
Comments
I see that symlink for provider folder is created successfully but still it doesn’t work
Please help