From 64d0a30ffc11b9cbe0e6d55496c63bb1bd236124 Mon Sep 17 00:00:00 2001 From: "V. Alex Brennen" Date: Sat, 1 Mar 2025 09:03:02 -0500 Subject: [PATCH 1/3] repo maintenance Why these changes are being introduced: The pre-commit dependencies are updated to the latest levels. The CODEOWNERS file is brought into line with our new GitHub teams organization. Side effects of this change: None Changes to be committed: modified: .github/CODEOWNERS modified: .pre-commit-config.yaml --- .github/CODEOWNERS | 2 +- .pre-commit-config.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 1cecb6b..37474a9 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -13,7 +13,7 @@ # Teams can be specified as code owners as well. Teams should be identified in # the format @org/team-name. Teams must have explicit write access to the # repository. -* @mitlibraries/infraeng-terraform-reviewers +* @mitlibraries/infraeng # We set the senior engineer in the team as the owner of the CODEOWNERS file as # a layer of protection for unauthorized changes. diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0a3d25a..19c1cb6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/antonbabenko/pre-commit-terraform - rev: "v1.97.3" + rev: "v1.97.4" hooks: - id: terraform_fmt args: @@ -12,7 +12,7 @@ repos: - id: terraform-docs-go args: ["markdown", "table", "--config", "./.terraform-docs.yaml", "--recursive", "--output-file", "README.md", "./"] - repo: https://github.com/bridgecrewio/checkov.git - rev: '3.2.373' + rev: '3.2.378' hooks: - id: checkov verbose: false From 9493e4bb95f7c21caef26351fa677c4bd1c6b0c2 Mon Sep 17 00:00:00 2001 From: "V. Alex Brennen" Date: Sat, 1 Mar 2025 09:56:47 -0500 Subject: [PATCH 2/3] terraform vrsn upgd Why these changes are being introduced: Terraform v11 has been released and is supported by TfC. Side effects of this change: None Changes to be committed: Changes to be committed: modified: README.md modified: versions.tf --- README.md | 2 +- versions.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 25f22c7..ca92dfd 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ This section provides a description of CloudWatch logging and any monitoring in | Name | Version | |------|---------| -| terraform | ~> 1.10 | +| terraform | ~> 1.11 | | aws | ~> 5.0 | ## Providers diff --git a/versions.tf b/versions.tf index 95b6513..29dd2e1 100644 --- a/versions.tf +++ b/versions.tf @@ -3,7 +3,7 @@ # Providers themselves are set in the `providers.tf` file. terraform { - required_version = "~> 1.10" + required_version = "~> 1.11" required_providers { aws = { From 7804bd72cf7cddca1e4f2a8f19af4180b9daa9c9 Mon Sep 17 00:00:00 2001 From: "V. Alex Brennen" Date: Sat, 1 Mar 2025 22:35:57 -0500 Subject: [PATCH 3/3] couple type-o corrections Why these changes are being introduced: This commit corrects a couple minor type-o's in the deleteme.tf example file. Side effects of this change: None Changes to be committed: modified: deleteme.tf --- deleteme.tf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/deleteme.tf b/deleteme.tf index 8c75156..ea5eced 100644 --- a/deleteme.tf +++ b/deleteme.tf @@ -6,18 +6,17 @@ # The Infra dev will need to update the string for the first row in this # locals block to an appropriate name for the resources created in this # file. Depending on the repository, the actual name of the variable might -# also need to be changed. When that is done, ALL occurences of the "_resource" +# also need to be changed. When that is done, ALL occurrences of the "_resource" # must be replaced in the file. # The text in the variable name after the underscore is necessary to distinguish # the naming in this file from the naming in other files in this repository. # # The locals block below should be copied and pasted into resource-creating .tf # files. Then, this file should be deleted. -# locals { # This is the base name for resources for this app. A string must be entered - # betwee the quotes. And, all instances of "_resource" must be replaced with an + # between the quotes. And, all instances of "_resource" must be replaced with an # identifier that matches the file/resources that are created by this file. # name_resource = ""