We get this message sometimes when we deploy prov-sys:
│ Error: Failed to load plugin schemas
│
│ Error while loading schemas for plugin components: Failed to obtain
│ provider schema: Could not load the schema for provider
│ registry.terraform.io/hashicorp/aws: failed to instantiate provider
│ "registry.terraform.io/hashicorp/aws" to obtain schema: fork/exec
│ .terraform/providers/registry.terraform.io/hashicorp/aws/4.58.0/linux_arm64/terraform-provider-aws_v4.58.0_x5:
│ permission denied..
╵
The solution is:
chmod +x .terraform/providers/registry.terraform.io/hashicorp/aws/4.58.0/linux_arm64/terraform-provider-aws_v4.58.0_x5
We get this message sometimes when we deploy prov-sys: │ Error: Failed to load plugin schemas │ │ Error while loading schemas for plugin components: Failed to obtain │ provider schema: Could not load the schema for provider │ registry.terraform.io/hashicorp/aws: failed to instantiate provider │ "registry.terraform.io/hashicorp/aws" to obtain schema: fork/exec │ .terraform/providers/registry.terraform.io/hashicorp/aws/4.58.0/linux_arm64/terraform-provider-aws_v4.58.0_x5: │ permission denied.. ╵ The solution is: chmod +x .terraform/providers/registry.terraform.io/hashicorp/aws/4.58.0/linux_arm64/terraform-provider-aws_v4.58.0_x5