From 33ce732e59ec0362fac432c760673b4c24f48555 Mon Sep 17 00:00:00 2001 From: Martin Canovas Date: Mon, 21 Sep 2020 11:56:50 -0300 Subject: [PATCH] Updated version constraints (#59) * Updated version constraints The `aws = ~> 2.0` causes error in Terraform 0.13: ``` Error: Failed to query available provider packages Could not retrieve the list of available versions for provider hashicorp/aws: no available releases match the given constraints >= 3.0.*, >= 2.0.*, >= 2.0.*, >= 2.0.*, >= 2.0.*, >= 2.0.*, < 4.0.*, ~> 2.0, ~> 2.0, ~> 2.0, ~> 2.0, ~> 2.0, ~> 2.0, >= 2.0.*, < 4.0.*, >= 3.0.*, >= 2.0.*, >= 2.0.*, >= 2.0.* ``` * Updated README.md * Update versions.tf * Updated README.md Co-authored-by: actions-bot <58130806+actions-bot@users.noreply.github.com> --- README.md | 14 ++++++++------ docs/terraform.md | 14 ++++++++------ versions.tf | 10 +++++----- 3 files changed, 21 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 0b48cfa..b7a5a40 100644 --- a/README.md +++ b/README.md @@ -154,21 +154,22 @@ Available targets: ``` + ## Requirements | Name | Version | |------|---------| -| terraform | >= 0.12.0, < 0.14.0 | -| aws | ~> 2.0 | -| local | ~> 1.3 | -| null | ~> 2.0 | -| template | ~> 2.0 | +| terraform | >= 0.12.0 | +| aws | >= 2.0 | +| local | >= 1.3 | +| null | >= 2.0 | +| template | >= 2.0 | ## Providers | Name | Version | |------|---------| -| aws | ~> 2.0 | +| aws | >= 2.0 | ## Inputs @@ -243,6 +244,7 @@ Available targets: | listener\_arns | A list of all the listener ARNs | | security\_group\_id | The security group ID of the ALB | + diff --git a/docs/terraform.md b/docs/terraform.md index 752c8bc..125d33b 100644 --- a/docs/terraform.md +++ b/docs/terraform.md @@ -1,18 +1,19 @@ + ## Requirements | Name | Version | |------|---------| -| terraform | >= 0.12.0, < 0.14.0 | -| aws | ~> 2.0 | -| local | ~> 1.3 | -| null | ~> 2.0 | -| template | ~> 2.0 | +| terraform | >= 0.12.0 | +| aws | >= 2.0 | +| local | >= 1.3 | +| null | >= 2.0 | +| template | >= 2.0 | ## Providers | Name | Version | |------|---------| -| aws | ~> 2.0 | +| aws | >= 2.0 | ## Inputs @@ -87,3 +88,4 @@ | listener\_arns | A list of all the listener ARNs | | security\_group\_id | The security group ID of the ALB | + diff --git a/versions.tf b/versions.tf index 8cff2e6..64e5831 100644 --- a/versions.tf +++ b/versions.tf @@ -1,10 +1,10 @@ terraform { - required_version = ">= 0.12.0, < 0.14.0" + required_version = ">= 0.12.0" required_providers { - aws = "~> 2.0" - template = "~> 2.0" - null = "~> 2.0" - local = "~> 1.3" + aws = ">= 2.0" + template = ">= 2.0" + null = ">= 2.0" + local = ">= 1.3" } }