Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Infra]: Upgrade Terraform core, providers, and module versions #2379

Open
TylerHendrickson opened this issue Dec 18, 2023 · 0 comments
Open
Labels
dependencies Pull requests that update a dependency file Infra Issues related to the infrastructure underlying all the tools. terraform Pull requests that update Terraform code

Comments

@TylerHendrickson
Copy link
Member

TylerHendrickson commented Dec 18, 2023

Why is this issue important?

For reasons related to security and stability, we want to stay up-to-date with our dependencies. Upgrading our Terraform code to be compatible with the latest version of Terraform (currently 1.6.6) unlock viable upgrade paths for certain modules and provider features that we rely upon in this project.

Current State

  • Terraform is outdated, currently at 1.3.6 (current latest available is 1.6.6).
  • Our AWS provider version is outdated, currently at 4.67.0 (current latest available is 5.31.0)

Certain module upgrades are not compatible with our current versions, for example:

Expected State

Implementation Plan

  1. In a local development environment, manually bump version constraints defined in terraform/main.tf as well as terraform/.terraform-version.
  2. Attempt to initialize Terraform with terraform init -backend=false. Observe what breaks and attempt to fix the problems directly, or create issues for follow-up.
  3. After fixing issues preventing successful Terraform initialization with newer core and AWS provider versions, determine upgrade viability for third-party modules listed above (worth spot-checking for any others).

Relevant Code Snippets

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file Infra Issues related to the infrastructure underlying all the tools. terraform Pull requests that update Terraform code
Projects
None yet
Development

No branches or pull requests

1 participant