Terraform Init: Error: Failed to query available provider packages

Hi,
I am getting this error when running ‘terraform init’
Terraform Init: Error: Failed to query available provider packages

This only occurs when I have prepackaged providers using terraform-bundle into “/usr/share/terraform/plugins/”. Terraform won’t automatically download providers that are not packaged into this folder (under registry.terraform.com/google/…).

Is this expected behaviour? I thought terraform would have downloaded any providers it can’t find locally? Or I am putting my providers into the wrong location for this to work?

Thanks in advance :slight_smile: