BYOC Customer - Failed to query available provider packages
Last updated: August 11, 2026
Symptom
On a BYOC cluster you are attempting to run
rpk cloud byoc aws apply
or
rpk cloud byoc gcp apply
and are seeing the following error or similar errors.
2024-04-15T20:46:59.372Z ERROR .rpk.managed-byoc cli/cli.go:193 Failed to apply provisioner {"provisioner": "redpanda-network", "error": "failed running terraform init: exit status 1\n\nError: Failed to query available provider packages\n\nCould not retrieve the list of available versions for provider\nhashicorp/random: the previously-selected version 3.5.1 is no longer\navailable\n\n"}
Failed to apply provisioners: failed to apply provisioner redpanda-network: failed running terraform init: exit status 1
Error: Failed to query available provider packages
Could not retrieve the list of available versions for provider
hashicorp/random: the previously-selected version 3.5.1 is no longer
available
This can happen if you using the m1 terraform helper.
Resolution
To move forward you will need to disabled the m1 terraform helper with the following command in background and then attempting to deploy the cluster.
m1-terraform-provider-helper deactivate