terraform rancher/rancher2 provider upgrade in terraform workspace

Ran into an issue after rancher upgrade to version 2.12.3 and found out that the terraform provider is out of date (by probably a few years). Then proceed to upgrade it in terraform.

Change the provider version to 8.5.0 because that version is recommened but I end up with v12. 

Run terraform init upgrade 

This will upgrade the .terraform.lock.hcl. Remove the older version if you need to. 

Then you may need to generate a token to connect to terraform workspace.

Once it is done, all you need to do is run terraform plan to see if you need to fix anything 

Then raise a PR 

Comments

Popular posts from this blog

vllm : Failed to infer device type

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

android studio kotlin source is null error