simpleinfra
simpleinfra copied to clipboard
Update Terraform providers
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
- [ ] Update providers in
terraform/bastion - [ ] Update providers in
terraform/bors - [ ] Update providers in
terraform/crater - [ ] Update providers in
terraform/crates-io-heroku-metrics - [ ] Update providers in
terraform/dev-desktops - [ ] Update providers in
terraform/discord-mods-bot - [ ] Update providers in
terraform/dns - [ ] Update providers in
terraform/dns-delegation - [ ] Update providers in
terraform/docs-rs - [ ] Update providers in
terraform/domain-redirects - [ ] Update providers in
terraform/fastly-exporter - [ ] Update providers in
terraform/monitorbot - [ ] Update providers in
terraform/playground - [ ] Update providers in
terraform/rds-databases - [ ] Update providers in
terraform/releases - [ ] Update providers in
terraform/rust-forge - [ ] Update providers in
terraform/rust-log-analyzer - [ ] Update providers in
terraform/rustc-ci - [ ] Update providers in
terraform/rustc-perf - [ ] Update providers in
terraform/shared - [ ] Update providers in
terraform/team-members-access - [ ] Update providers in
terraform/team-members-datadog - [ ] Update providers in
terraform/team-members-fastly - [ ] Update providers in
terraform/team-repo - [ ] Update providers in
terragrunt/modules/acm-certificate - [ ] Update providers in
terragrunt/modules/aws-lambda - [ ] Update providers in
terragrunt/modules/aws-organization - [ ] Update providers in
terragrunt/modules/bastion - [ ] Update providers in
terragrunt/modules/bors - [ ] Update providers in
terragrunt/modules/common - [ ] Update providers in
terragrunt/modules/crates-io - [ ] Update providers in
terragrunt/modules/crates-io-downloads-archive - [ ] Update providers in
terragrunt/modules/crates-io-logs - [ ] Update providers in
terragrunt/modules/datadog-aws - [ ] Update providers in
terragrunt/modules/datadog-fastly - [ ] Update providers in
terragrunt/modules/dev-desktops-azure - [ ] Update providers in
terragrunt/modules/dns-zone - [ ] Update providers in
terragrunt/modules/docs-rs - [ ] Update providers in
terragrunt/modules/ecr-repo - [ ] Update providers in
terragrunt/modules/ecs-app - [ ] Update providers in
terragrunt/modules/ecs-cluster - [ ] Update providers in
terragrunt/modules/ecs-service - [ ] Update providers in
terragrunt/modules/ecs-task - [ ] Update providers in
terragrunt/modules/fastly-tls-subscription - [ ] Update providers in
terragrunt/modules/gha-iam-user - [ ] Update providers in
terragrunt/modules/gha-oidc-role - [ ] Update providers in
terragrunt/modules/release-distribution - [ ] Update providers in
terragrunt/modules/resource-group - [ ] Update providers in
terragrunt/modules/rustup - [ ] Update providers in
terragrunt/modules/sync-team - [ ] Update providers in
terragrunt/modules/vpc - [ ] Update providers in
terragrunt/modules/win-rustup-rs - [ ] Update providers in
terragrunt/modules/wiz
Related Issues
- #376 is currently blocked by this issue, since version 4.x of the AWS provider does not support a more recent runtime.