File tree 5 files changed +16
-2
lines changed
5 files changed +16
-2
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ module "redis-cluster" {
71
71
Application = " CloudDrove"
72
72
}
73
73
74
+
74
75
# ##----------------------------------------------------------------------------------
75
76
# will create ROUTE-53 for redis which will add the dns of the cluster.
76
77
# ##----------------------------------------------------------------------------------
File renamed without changes.
Original file line number Diff line number Diff line change @@ -143,8 +143,8 @@ resource "aws_elasticache_subnet_group" "default" {
143
143
144
144
resource "random_password" "auth_token" {
145
145
count = var. auth_token_enable && var. auth_token == null ? 1 : 0
146
- length = 25
147
- special = false
146
+ length = var . length
147
+ special = var . special
148
148
}
149
149
150
150
# #----------------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -438,3 +438,16 @@ variable "ssm_parameter_type" {
438
438
default = " SecureString"
439
439
description = " Type of the parameter."
440
440
}
441
+
442
+ # ##------------------------------- random_password----------------------------
443
+
444
+ variable "length" {
445
+ type = number
446
+ default = 25
447
+ }
448
+
449
+ variable "special" {
450
+ type = bool
451
+ default = false
452
+
453
+ }
You can’t perform that action at this time.
0 commit comments