hackforla / incubator

https://github.com/orgs/hackforla/projects/73/views/5
GNU General Public License v2.0
3 stars 14 forks source link

Incubator - Upgrade Terraform to the latest version 1.7.4 #38

Open gjagnoor opened 2 years ago

gjagnoor commented 2 years ago

Dependency

Overview

Since Terraform helps manage our entire infrastructure, it's important to keep it up to date to make sure we have to worry about the least number of bugs, and security issues. It will also be helpful for new developers joining our team so they can refer to documentation and get accurate info on how to perform different tasks

Action Items

Resources/Instructions

Like any other software tool, library or platform, every new patch or release comes with improvements, bug fixes, and most importantly, security fixes. This also applies to Terraform, and is the main reason to consider upgrading the tool that you use to manage your whole cloud infrastructure with. Upgrading Terraform: Why and how to?

JasonEb commented 2 years ago

This will also have to reconcile terragrunt versioning. For the year, we had to rely on a specific terragrunt version. I do believe we have always used the latest terragrunt.

ExperimentsInHonesty commented 2 years ago

This issue needs a tiny bit of a rewrite. Let's talk about it at the next meeting on the 2022-11-09

JasonEb commented 2 years ago

After some discussion, we feel this issue would be better realized after Incubator Documentation contains guides about using Docker and Terragrunt.

Will put this it into the Icebox until we can revisit it.

robinglov commented 10 months ago

This issue needs to indicate what the version we're currently using is and point to a website where we can review any security updates to determine the time sensitivity of this issue.

chelseybeck commented 8 months ago

@robinglov I think we need a few adjustments here. I'm not seeing in the codebase where we have set a required version of Terraform. We can dig a little more to verify that...but if it is the case then the version is just whatever version someone has installed on their machine when they run commands. There is no "update" here in the traditional sense. With Terraform updates the flow (for me anyway) is typically:

  1. install the latest version on my machine
  2. run commands terraform init and terraform plan. if there are version conflicts, I'll get errors and make adjustments in the codebase as necessary

All of this said, I think that we should enforce versions in our configuration files to prevent future conflicts. This issue should be further refined

chelseybeck commented 8 months ago
chelseybeck commented 8 months ago

I checked the state files and there are different versions in different states. We will need to discuss best options

ExperimentsInHonesty commented 1 month ago

I moved this from the icebox to the new issue review because it has a lot of unresolved comments and no dependency.

ExperimentsInHonesty commented 1 month ago

We are putting this back into the icebox with a dependency.

current version of terraform is 1.9.8.

When this issue comes back out of the icebox, add the latest version to a comment and ask for a redraft of this issue by CoP leads