From c41bc139f7948d80c6ae4fe178a83afb6ad5cd2c Mon Sep 17 00:00:00 2001 From: Mohsen Date: Tue, 13 Oct 2020 13:05:05 +0100 Subject: [PATCH] Support AWS provider 3.x.x (#23) ## what * Updates AWS provider pining to be inclusive of 3.x ## why * Allow users to use AWS provider > 2.x Co-authored-by: actions-bot <58130806+actions-bot@users.noreply.github.com> --- README.md | 6 ++++-- docs/terraform.md | 6 ++++-- versions.tf | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8580f29..cc8d6b7 100644 --- a/README.md +++ b/README.md @@ -124,12 +124,13 @@ Available targets: ``` + ## Requirements | Name | Version | |------|---------| | terraform | >= 0.12.0, < 0.14.0 | -| aws | ~> 2.0 | +| aws | >= 2.0, < 4.0.0 | | local | ~> 1.3 | | template | ~> 2.0 | @@ -137,7 +138,7 @@ Available targets: | Name | Version | |------|---------| -| aws | ~> 2.0 | +| aws | >= 2.0, < 4.0.0 | ## Inputs @@ -168,6 +169,7 @@ Available targets: | accept\_status | The status of the VPC peering connection request | | connection\_id | VPC peering connection ID | + diff --git a/docs/terraform.md b/docs/terraform.md index 62eadcd..c865ced 100644 --- a/docs/terraform.md +++ b/docs/terraform.md @@ -1,9 +1,10 @@ + ## Requirements | Name | Version | |------|---------| | terraform | >= 0.12.0, < 0.14.0 | -| aws | ~> 2.0 | +| aws | >= 2.0, < 4.0.0 | | local | ~> 1.3 | | template | ~> 2.0 | @@ -11,7 +12,7 @@ | Name | Version | |------|---------| -| aws | ~> 2.0 | +| aws | >= 2.0, < 4.0.0 | ## Inputs @@ -42,3 +43,4 @@ | accept\_status | The status of the VPC peering connection request | | connection\_id | VPC peering connection ID | + diff --git a/versions.tf b/versions.tf index dd28587..1978040 100644 --- a/versions.tf +++ b/versions.tf @@ -2,7 +2,7 @@ terraform { required_version = ">= 0.12.0, < 0.14.0" required_providers { - aws = "~> 2.0" + aws = ">= 2.0, < 4.0.0" template = "~> 2.0" local = "~> 1.3" }