Skip to content

Commit dce80c6

Browse files
committed
feat: update and added resource description
1 parent 65c85ef commit dce80c6

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

variables.tf

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ variable "repository" {
1212
description = "Terraform current module repo"
1313

1414
validation {
15-
# regex(...) fails if it cannot find a match
1615
condition = can(regex("^https://", var.repository))
1716
error_message = "The module-repo value must be a valid Git repo link."
1817
}
@@ -54,8 +53,6 @@ variable "enable" {
5453
description = "Enable or disable of elasticache"
5554
}
5655

57-
# Module : Replication Group
58-
# Description : Terraform Replication group module variables.
5956
variable "engine" {
6057
type = string
6158
default = ""
@@ -145,12 +142,12 @@ variable "subnet_ids" {
145142

146143
variable "subnet_group_description" {
147144
type = string
148-
default = "Managed by Terraform"
145+
default = "The Description of the ElastiCache Subnet Group."
149146
description = "Description for the cache subnet group. Defaults to `Managed by Terraform`."
150147
}
151148
variable "replication_group_description" {
152149
type = string
153-
default = "Name of either the CloudWatch Logs LogGroup or Kinesis Data Firehose resource."
150+
default = "User-created description for the replication group."
154151
description = "Name of either the CloudWatch Logs LogGroup or Kinesis Data Firehose resource."
155152
}
156153

@@ -278,7 +275,7 @@ variable "kms_key_id" {
278275

279276
variable "alias" {
280277
type = string
281-
default = "alias/rediss"
278+
default = "alias/redis"
282279
description = "The display name of the alias. The name must start with the word `alias` followed by a forward slash."
283280
}
284281

0 commit comments

Comments
 (0)