Dependency
Overview
Since Terraform helps manage our entire infrastructure, it's important to make sure we are using a fixed version of terraform. Currently we do no specify the version, so the dflook github actions always use the latest version. This can lead to sudden, unexpected incompatibilities with our code and just be a bummer overall. Terraform upgrades should be tested, and not automatically run. We need to specify the exact terraform major and minor version we want to use, which at the time of this writing is 1.12.X
Action Items
Resources/Instructions
manage terraform versions
Dependency
Overview
Since Terraform helps manage our entire infrastructure, it's important to make sure we are using a fixed version of terraform. Currently we do no specify the version, so the dflook github actions always use the latest version. This can lead to sudden, unexpected incompatibilities with our code and just be a bummer overall. Terraform upgrades should be tested, and not automatically run. We need to specify the exact terraform major and minor version we want to use, which at the time of this writing is
1.12.XAction Items
backend.tf, addrequired_version = "~> 1.12.1"per the documentation listed below. The~>symbol fixes the major and minor versions but allows patch versions.Resources/Instructions
manage terraform versions