SlideRuleEarth / sliderule-prov-sys

Provisioning System for Slide Rule clusters
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Upon deploy of prov-sys we need to ensure executable permissions on terraform provider files for each org #1

Closed cugarteblair closed 1 year ago

cugarteblair commented 1 year ago

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

cugarteblair commented 1 year ago

The solution here is to not upload or download the .terraform dir or state files