From c1a6099c0577dd6258db673e3793defdbd0d8089 Mon Sep 17 00:00:00 2001
From: Marcin Cuber <5611060+marcincuber@users.noreply.github.com>
Date: Mon, 11 Dec 2023 09:04:13 +0000
Subject: [PATCH] fix versioning and docs (#2)
---
README.md | 5 +++--
examples/basic/main.tf | 5 ++++-
versions.tf | 13 ++++++++++---
3 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index f35aa03..d112bd6 100644
--- a/README.md
+++ b/README.md
@@ -41,14 +41,14 @@ module "redis" {
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.3.0 |
-| [aws](#requirement\_aws) | >= 4.15.0 |
+| [aws](#requirement\_aws) | >= 5.28.0 |
| [random](#requirement\_random) | >= 3.4.3 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 4.15.0 |
+| [aws](#provider\_aws) | >= 5.28.0 |
| [random](#provider\_random) | >= 3.4.3 |
## Modules
@@ -77,6 +77,7 @@ No modules.
| [apply\_immediately](#input\_apply\_immediately) | Specifies whether any modifications are applied immediately, or during the next maintenance window. | `bool` | `false` | no |
| [at\_rest\_encryption\_enabled](#input\_at\_rest\_encryption\_enabled) | Whether to enable encryption at rest. | `bool` | `true` | no |
| [auth\_token](#input\_auth\_token) | The password used to access a password protected server. Can be specified only if `transit_encryption_enabled = true`. | `string` | `null` | no |
+| [auth\_token\_update\_strategy](#input\_auth\_token\_update\_strategy) | Strategy to use when updating the auth\_token. Valid values are SET, ROTATE, and DELETE. Defaults to ROTATE | `string` | `"ROTATE"` | no |
| [auto\_minor\_version\_upgrade](#input\_auto\_minor\_version\_upgrade) | n/a | `bool` | `true` | no |
| [automatic\_failover\_enabled](#input\_automatic\_failover\_enabled) | Specifies whether a read-only replica will be automatically promoted to read/write primary if the existing primary fails. If enabled, number\_cache\_clusters must be greater than 1. Must be enabled for Redis (cluster mode enabled) replication groups. | `bool` | `true` | no |
| [cluster\_mode\_enabled](#input\_cluster\_mode\_enabled) | Enable creation of a native redis cluster. | `bool` | `false` | no |
diff --git a/examples/basic/main.tf b/examples/basic/main.tf
index 057d2e2..0da2276 100644
--- a/examples/basic/main.tf
+++ b/examples/basic/main.tf
@@ -6,7 +6,10 @@ terraform {
required_version = ">= 1.3.0"
required_providers {
- aws = ">= 4.15.0"
+ aws = {
+ source = "hashicorp/aws"
+ version = ">= 5.28.0"
+ }
}
}
diff --git a/versions.tf b/versions.tf
index ec54bea..c405464 100644
--- a/versions.tf
+++ b/versions.tf
@@ -1,8 +1,15 @@
terraform {
- required_version = ">= 1.6.0"
+ required_version = ">= 1.3.0"
required_providers {
- aws = ">= 5.0.0"
- random = ">= 3.4.3"
+ aws = {
+ source = "hashicorp/aws"
+ version = ">= 5.28.0"
+ }
+
+ random = {
+ source = "hashicorp/random"
+ version = ">= 3.4.3"
+ }
}
}