Skip to content

Commit

Permalink
Updated version constraints (#59)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
MartinCanovas and actions-bot authored Sep 21, 2020
1 parent 43510ae commit 33ce732
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 17 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,21 +154,22 @@ Available targets:
```
<!-- markdownlint-restore -->
<!-- markdownlint-disable -->
## 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

Expand Down Expand Up @@ -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 |

<!-- markdownlint-restore -->



Expand Down
14 changes: 8 additions & 6 deletions docs/terraform.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
<!-- markdownlint-disable -->
## 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

Expand Down Expand Up @@ -87,3 +88,4 @@
| listener\_arns | A list of all the listener ARNs |
| security\_group\_id | The security group ID of the ALB |

<!-- markdownlint-restore -->
10 changes: 5 additions & 5 deletions versions.tf
Original file line number Diff line number Diff line change
@@ -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"
}
}

0 comments on commit 33ce732

Please sign in to comment.