Using custom providers in Terraform
The RKE provider that I'd like to use is some versions behind. It seemed easy enough to update the dependency, but I struggled to get this custom RKE provider working without having to upload it somewhere. The documentation didn't seem to be obvious enough. After searching on Google, I found this issue on GitHub, which made it clear.
For me, the example meant:
# main.tf
terraform {
required_providers {
rke = {
source = "my.local/marco/rke"
version = "1.3.1"
}
}
}
~/.terraform.d/plugins/my.local/marco/rke/1.3.1/linux_amd64/terraform-provider-rke_v1.3.1