From e10a392d036aa6fd7519d31a29dfff3cba398e02 Mon Sep 17 00:00:00 2001
From: xshot9011 <40098197+xshot9011@users.noreply.github.com>
Date: Thu, 15 Jun 2023 16:15:42 +0700
Subject: [PATCH] fix: provider version constraint (#7)
* fix: provider version constraint
* chore: update doc
---
CHANGELOG.md | 6 ++++++
README.md | 8 ++++----
versions.tf | 2 +-
3 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4eb33db..4c14263 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,12 @@
All notable changes to this module will be documented in this file.
+## [v2.0.1] - 2023-06-15
+
+### Changed
+
+- When running with a provider version of 6 or higher, certain modules may not function properly. However, we can address the modules that are not compatible with version 6 to ensure compatibility. This way, we don't need to edit all the modules. So we update the constraint to `>= 5.0.0` at the module level.
+
## [v2.0.0] - 2023-06-08
### BREAKING CHANGES
diff --git a/README.md b/README.md
index 922617e..1d1c164 100644
--- a/README.md
+++ b/README.md
@@ -120,10 +120,10 @@ module "alarm" {
## Requirements
-| Name | Version |
-|---------------------------------------------------------------------------|-------------------|
-| [terraform](#requirement\_terraform) | >= 1.0.0 |
-| [aws](#requirement\_aws) | >= 5.0.0, < 6.0.0 |
+| Name | Version |
+|---------------------------------------------------------------------------|----------|
+| [terraform](#requirement\_terraform) | >= 1.0.0 |
+| [aws](#requirement\_aws) | >= 5.0.0 |
## Providers
diff --git a/versions.tf b/versions.tf
index 51b175b..45dce90 100644
--- a/versions.tf
+++ b/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 5.0.0, < 6.0.0"
+ version = ">= 5.0.0"
}
}
}