Upgrade our terraform template dependencies with renovate bot
We should update our terraform template dependencies.
The following discussion from !5 (merged) should be addressed:
-
@Alexand started a discussion: I can confirm that after a manual QA, I was able to provision an EKS cluster with this version and get my agent connected to it.
Although, now I'm also asking myself, whether we shouldn't run
terraform init -upgradeto generate a new dependency-lock file with updated with a newregistry.terraform.io/hashicorp/kubernetesprovider version. Anyway, I think locking this module also makes sense, and already fixes the bug. So we can update the other dependencies in a follow-up issue!
Proposal
Introduce the renovatebot and use it to trigger new dependency MRs.
Example renovate.json from Viktor's personal project
{
"extends": [
"config:base",
":disableDependencyDashboard"
],
"labels": [
"type::maintenance"
],
"packageRules": [
{
"automerge": false,
"description": "Terraform updates",
"managers": [
"terraform"
],
"matchUpdateTypes": [
"patch",
"pin",
"digest",
"minor",
"major"
]
}
]
}
Edited by Nicolò Maria Mezzopera