From 0c9aa5267ee8447c0b9a5111a45ce6453353a24e Mon Sep 17 00:00:00 2001 From: ralren Date: Thu, 8 Jun 2023 10:51:38 -0700 Subject: [PATCH 1/2] deprecate older terraform versions --- .pre-commit-config.yaml | 6 ------ README.md | 6 ------ versions.tf | 2 +- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c1356cb..bfd87bb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,12 +34,6 @@ repos: hooks: - id: shell-lint - - repo: https://github.com/terraform-docs/terraform-docs - rev: "v0.16.0" - hooks: - - id: terraform-docs-go - args: ["markdown", "table", "--output-file", "README.md", "."] - - repo: https://github.com/antonbabenko/pre-commit-terraform rev: v1.77.1 hooks: diff --git a/README.md b/README.md index 8d6d75d..25b9425 100644 --- a/README.md +++ b/README.md @@ -19,12 +19,6 @@ modify the `hello_world_container_ports` variable. In production usage, we expect deployment tooling to manage the container definitions going forward, not Terraform. -## Terraform Versions - -Terraform 0.13 and 0.14. Pin module version to ~> 6.0. Submit pull-requests to master branch. - -Terraform 0.12 is deprecated. - ## Usage ### ECS service associated with an Application Load Balancer (ALB) diff --git a/versions.tf b/versions.tf index 366705a..ed5774f 100644 --- a/versions.tf +++ b/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 0.13" + required_version = ">= 1.0" required_providers { aws = { From b4acdc86e511aef6494ff7d0b143810ea2f8dd6f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 8 Jun 2023 17:52:12 +0000 Subject: [PATCH 2/2] terraform-docs: automated action --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 25b9425..5bd9563 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ module "app_ecs_service" { | Name | Version | |------|---------| -| terraform | >= 0.13 | +| terraform | >= 1.0 | | aws | >= 3.34 | ## Providers