Skip to content

Commit

Permalink
Merge pull request #182 from trussworks/deprecate-terraform-versions
Browse files Browse the repository at this point in the history
deprecate older terraform versions
  • Loading branch information
ralren authored Jun 8, 2023
2 parents 8a2bd5c + e9ebfa2 commit cbbe91f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
6 changes: 0 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,6 @@ Enables AWS Config and adds managed config rules with good defaults.
- s3-bucket-acl-prohibited: Checks if Amazon Simple Storage Service (Amazon S3) Buckets allow user permissions through access control lists (ACLs). [_Not supported in all regions_](https://docs.aws.amazon.com/config/latest/developerguide/s3-bucket-acl-prohibited.html)
- s3-bucket-server-side-encryption-enabled: Checks if S3 bucket either has the S3 default encryption enabled or that S3 policy explicitly denies put-object requests without SSE that uses AES-256 or AWS KMS.

## Terraform Versions

Terraform 0.13 and newer. Pin module version to ~> 4.x. Submit pull-requests to master branch.

Terraform 0.12. Pin module version to ~> 3.0. Submit pull-requests to terraform012 branch.

## Usage

**Note: This module sets up AWS IAM Roles and Policies, which are globally namespaced. If you plan to have multiple instances of AWS Config, make sure they have unique values for `config_name`.**
Expand All @@ -137,7 +131,7 @@ module "aws_config" {

| Name | Version |
|------|---------|
| terraform | >= 0.12.7 |
| terraform | >= 1.0 |
| aws | >= 2.70 |

## Providers
Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 0.12.7"
required_version = ">= 1.0"

required_providers {
aws = ">= 2.70"
Expand Down

0 comments on commit cbbe91f

Please sign in to comment.