File tree 3 files changed +7
-2
lines changed
3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ module "redis" {
68
68
multi_az_enabled = false
69
69
num_cache_clusters = 1
70
70
replicas_per_node_group = 1
71
- retention_in_days = 1
71
+ retention_in_days = 0
72
72
snapshot_retention_limit = 7
73
73
74
74
log_delivery_configuration = [
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ data "aws_security_group" "existing" {
42
42
resource "aws_security_group_rule" "egress" {
43
43
count = (var. enable_security_group == true && length (var. sg_ids ) < 1 && var. is_external == false && var. egress_rule == true ) ? 1 : 0
44
44
45
- description = " Description of the egress rule. "
45
+ description = var . sg_egress_description
46
46
type = " egress"
47
47
from_port = 0
48
48
to_port = 65535
Original file line number Diff line number Diff line change @@ -358,6 +358,11 @@ variable "egress_rule" {
358
358
default = true
359
359
description = " Enable to create egress rule"
360
360
}
361
+ variable "sg_egress_description" {
362
+ type = string
363
+ default = " "
364
+ description = " Description of the egress rule."
365
+ }
361
366
362
367
variable "is_external" {
363
368
type = bool
You can’t perform that action at this time.
0 commit comments