Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Commit 3641c33

Browse files
Restore missing variables in Redis module
- Add back network_private_subnet_cidrs variable that was accidentally removed - Move network_id variable to correct position (after tfe_instance_sg) - Remove duplicate network_id variable at end of file - Keep only Redis passwordless additions, restore original variable structure
1 parent aaf3610 commit 3641c33

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

modules/redis/variables.tf

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ variable "tfe_instance_sg" {
1616
type = string
1717
}
1818

19+
variable "network_id" {
20+
description = "The identity of the VPC in which the security group attached to the Redis Elasticache replication group will be deployed."
21+
type = string
22+
}
23+
1924
variable "network_subnets_private" {
2025
description = "A list of the identities of the private subnetworks in which the Redis Elasticache replication group will be deployed."
2126
type = list(string)
@@ -26,6 +31,11 @@ variable "friendly_name_prefix" {
2631
description = "(Required) Friendly name prefix used for tagging and naming AWS resources."
2732
}
2833

34+
variable "network_private_subnet_cidrs" {
35+
type = list(string)
36+
description = "(Optional) List of private subnet CIDR ranges to create in VPC."
37+
}
38+
2939
variable "redis_port" {
3040
type = number
3141
description = "Set port for Redis. Defaults to 6379 default port"
@@ -78,8 +88,3 @@ variable "redis_enable_iam_auth" {
7888
description = "Enable IAM authentication for Redis ElastiCache."
7989
default = false
8090
}
81-
82-
variable "network_id" {
83-
type = string
84-
description = "The identity of the VPC in which the security group attached to the Redis Elasticache replication group will be deployed."
85-
}

0 commit comments

Comments
 (0)