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

Update Terraform providers #437

Closed
44 of 53 tasks
jdno opened this issue Jul 5, 2024 · 2 comments
Closed
44 of 53 tasks

Update Terraform providers #437

jdno opened this issue Jul 5, 2024 · 2 comments
Assignees

Comments

@jdno
Copy link
Member

jdno commented Jul 5, 2024

Most of the Terraform providers in /terraform and /terragrunt are out-of-date, since we tend to only upgrade them when a new feature is required.

Updating some providers, e.g. the AWS provider, has proven to be quite difficult since it is used in almost all modules. This has frequently caused issues due to mismatching versions, and essentially requires us to update all modules one-by-one. When reviewing our modules, there might be opportunities to remove dependencies by copying their resources into the "main" module. While this duplicates some configuration, it will make maintenance and updates much easier in the future.

Another consideration is that we use a few deprecated resources or attributes, and updating the providers will most likely mean that we need to refactor some of our configuration. This might be a good opportunity to also install a tool like tflint to ensure the updated configuration follows best practices.

Tasks

Related Issues

@MarcoIeni
Copy link
Member

I upgraded everything except docs-rs-staging, which is unused.

To verify, you can run: infratk graph --clipboard --outdated --min-versions hashicorp/aws=5.64.0. (see infratk here).

I created #557 for the warnings 👍

@MarcoIeni
Copy link
Member

graphviz (8)
Here's the graph I generated with infratk if you want to have a look 👍
the "✅" symbol means that the module is up-to-date

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants