Skip to content

Commit

Permalink
fix: lock down max terraform version to <1.6 (#570)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrej <[email protected]>
  • Loading branch information
akocbek and akocbekIBM authored Oct 9, 2023
1 parent 0de543c commit c3b6db0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This is a mock module for testing purposes and not for general consumption.

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0.0 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0.0, <1.6.0 |

### Modules

Expand Down
2 changes: 1 addition & 1 deletion examples/default/version.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.0.0"
required_version = ">= 1.0.0, <1.6.0"
required_providers {
# Pin to the lowest provider version of the range defined in the main module's version.tf to ensure lowest version still works
ibm = {
Expand Down
2 changes: 1 addition & 1 deletion module-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"variables": {},
"outputs": {},
"required_core": [
"\u003e= 1.0.0"
"\u003e= 1.0.0, \u003c1.6.0"
],
"required_providers": {},
"managed_resources": {},
Expand Down
2 changes: 1 addition & 1 deletion version.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.0.0"
required_version = ">= 1.0.0, <1.6.0"
# Add any required providers below and uncomment
# required_providers {
# ibm = {
Expand Down

0 comments on commit c3b6db0

Please sign in to comment.