Hi all,
I’m currently working on the C1_W4 and encountered an issue during step 2.4, where we’re instructed to re-initialize the Terraform module using the following commands:
terraform init
terraform plan
terraform apply
After running terraform init
from the terraform
folder in the terminal, I received the following error:
Error: Failed to install provider
Error while installing hashicorp/random v3.7.2:
chmod .terraform/providers/registry.terraform.io/hashicorp/random/3.7.2/linux_amd64/LICENSE.txt: operation not permitted
It seems like there’s a permission issue when Terraform tries to install the hashicorp/random
provider. Has anyone encountered this before or found a workaround?
Any help would be greatly appreciated!
Thanks in advance.