I'm transitioning to using Renovate bot to manage Terraform versions, and I'm a bit lost. Previously, we used a custom script that went through our folders, checked the version, utilized tfswitch to switch to the correct version, and then updated and locked for multiple platforms like ARM and AMD. Now that I'm using Renovate, it seems to update my versions, but I'm unsure if it's actually switching the Terraform version correctly or if it can handle the multi-platform locking. Any guidance on this would be really helpful! Thanks so much!
1 Answer
I created a post-update bash script to handle this issue. You can find details in the Renovate documentation under post-update hooks. It’s pretty straightforward to set up!

Thanks for the tip! I looked at the post-upgrade tasks but I couldn't get it to work. I'll give the hooks a try.