How to Manage Terraform Versions with Renovate Bot?

0
4
Asked By TechGuru123 On

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

Answered By CodeMaster99 On

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!

HelpfulBob27 -

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.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.