Skip to content

Commit

Permalink
fix: require AWS provider v4.2.0 (#270)
Browse files Browse the repository at this point in the history
Updated the provider requiremenet to avoid the issue in AWS provider
v4.1.0 that the validation fails for some AWS regions.
  • Loading branch information
nozaq authored Feb 19, 2022
1 parent ab6f5ac commit 3c30413
Show file tree
Hide file tree
Showing 31 changed files with 43 additions and 43 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ This module is composed of several submodules and each of which can be used inde
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.1.4 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.1.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.2.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.1.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.2.0 |

## Inputs

Expand Down
2 changes: 1 addition & 1 deletion examples/external-bucket/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.1.0"
version = ">= 4.2.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/organization/master/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.1.0"
version = ">= 4.2.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/organization/member/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.1.0"
version = ">= 4.2.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/select-region/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.1.0"
version = ">= 4.2.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/simple/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.1.0"
version = ">= 4.2.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.1.0"
version = ">= 4.2.0"

# A provider alias should be passed for each AWS region.
# Reference: https://docs.aws.amazon.com/general/latest/gr/rande.html
Expand Down
4 changes: 2 additions & 2 deletions modules/alarm-baseline/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ Set up CloudWatch alarms to notify you when critical changes happen in your AWS
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.1.4 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.1.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.2.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.1.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.2.0 |

## Inputs

Expand Down
2 changes: 1 addition & 1 deletion modules/alarm-baseline/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.1.0"
version = ">= 4.2.0"
}
}
}
4 changes: 2 additions & 2 deletions modules/analyzer-baseline/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.1.4 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.1.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.2.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.1.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.2.0 |

## Inputs

Expand Down
2 changes: 1 addition & 1 deletion modules/analyzer-baseline/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.1.0"
version = ">= 4.2.0"
}
}
}
4 changes: 2 additions & 2 deletions modules/cloudtrail-baseline/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ Enable CloudTrail in all regions and deliver events to CloudWatch Logs. CloudTra
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.1.4 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.1.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.2.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.1.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.2.0 |

## Inputs

Expand Down
2 changes: 1 addition & 1 deletion modules/cloudtrail-baseline/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.1.0"
version = ">= 4.2.0"
}
}
}
4 changes: 2 additions & 2 deletions modules/config-baseline/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ Enable AWS Config in all regions to automatically take configuration snapshots.
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.1.4 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.1.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.2.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.1.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.2.0 |

## Inputs

Expand Down
2 changes: 1 addition & 1 deletion modules/config-baseline/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.1.0"
version = ">= 4.2.0"
}
}
}
4 changes: 2 additions & 2 deletions modules/ebs-baseline/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.1.4 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.1.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.2.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.1.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.2.0 |

## Inputs

Expand Down
2 changes: 1 addition & 1 deletion modules/ebs-baseline/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.1.0"
version = ">= 4.2.0"
}
}
}
4 changes: 2 additions & 2 deletions modules/guardduty-baseline/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ Enable GuardDuty in all regions.
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.1.4 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.1.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.2.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.1.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.2.0 |

## Inputs

Expand Down
2 changes: 1 addition & 1 deletion modules/guardduty-baseline/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.1.0"
version = ">= 4.2.0"
}
}
}
4 changes: 2 additions & 2 deletions modules/iam-baseline/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.1.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.2.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.1.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.2.0 |

## Inputs

Expand Down
2 changes: 1 addition & 1 deletion modules/iam-baseline/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.1.0"
version = ">= 4.2.0"
}
}
}
4 changes: 2 additions & 2 deletions modules/s3-baseline/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.1.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.2.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.1.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.2.0 |

## Inputs

Expand Down
2 changes: 1 addition & 1 deletion modules/s3-baseline/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.1.0"
version = ">= 4.2.0"
}
}
}
4 changes: 2 additions & 2 deletions modules/secure-bucket/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ Creates a S3 bucket with access logging enabled.
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.1.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.2.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.1.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.2.0 |

## Inputs

Expand Down
2 changes: 1 addition & 1 deletion modules/secure-bucket/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.1.0"
version = ">= 4.2.0"
}
}
}
4 changes: 2 additions & 2 deletions modules/securityhub-baseline/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.1.4 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.1.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.2.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.1.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.2.0 |

## Inputs

Expand Down
2 changes: 1 addition & 1 deletion modules/securityhub-baseline/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.1.0"
version = ">= 4.2.0"
}
}
}
4 changes: 2 additions & 2 deletions modules/vpc-baseline/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.1.4 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.1.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.2.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.1.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.2.0 |

## Inputs

Expand Down
2 changes: 1 addition & 1 deletion modules/vpc-baseline/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.1.0"
version = ">= 4.2.0"
}
}
}
2 changes: 1 addition & 1 deletion test/fixtures/simple_local/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.1.0"
version = ">= 4.2.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/simple_registry/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.1.0"
version = ">= 4.2.0"
}
}
}
Expand Down

0 comments on commit 3c30413

Please sign in to comment.