refactor: parameterise rancher api_url and pin rancher2 to ~> 14.0 #7
Reference in New Issue
Block a user
Delete Branch "benvin/provider-plumbing"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
Provider plumbing hardening ahead of scope expansion.
api_urlwas hardcoded to the derived environment URL, so CI had no way to aim a plan at a different endpoint.rancher2 >= 5.0.0permits nine majors of drift; the lockfile already resolves 14.1.1.How
environments/root.hcl: generatedvariable "rancher_url"whose default is the samehttps://${path_relative_to_include()}expression; the provider now readsvar.rancher_url. Default behaviour is unchanged — this only adds aTF_VAR_rancher_urlescape hatch. Mirrorsterraform-authentik'sauthentik_url.modules/rancher/versions.tf: pinrancher/rancher2to~> 14.0.uvx pre-commit run --all-filespasses (tofu fmt/validate, tflint, terragrunt hcl fmt, yamllint).