File tree Expand file tree Collapse file tree 3 files changed +14
-10
lines changed Expand file tree Collapse file tree 3 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -75,8 +75,10 @@ module "redis-cluster" {
75
75
# ###----------------------------------------------------------------------------------
76
76
# # will create ROUTE-53 for redis which will add the dns of the cluster.
77
77
# ###----------------------------------------------------------------------------------
78
- dns_record_name = " prod"
79
- route53_ttl = " 300"
80
- route53_type = " CNAME"
81
- route53_zone_id = " Z0xxxx16XCxxxxxxx4"
78
+ ssm_parameter_endpoint_enabled = true
79
+ route53_record_enabled = true
80
+ dns_record_name = " prod"
81
+ route53_ttl = " 300"
82
+ route53_type = " CNAME"
83
+ route53_zone_id = " Z0xxxx16XCxxxxxxx4"
82
84
}
Original file line number Diff line number Diff line change @@ -91,9 +91,11 @@ module "redis" {
91
91
# # will create ROUTE-53 for redis which will add the dns of the cluster.
92
92
# ###----------------------------------------------------------------------------------
93
93
# tfsec:ignore:aws-ec2-no-public-egress-sgr
94
- dns_record_name = " prod"
95
- route53_ttl = " 300"
96
- route53_type = " CNAME"
97
- route53_zone_id = " SERFxxxx6XCsY9Lxxxxx"
94
+ route53_record_enabled = true
95
+ ssm_parameter_endpoint_enabled = true
96
+ dns_record_name = " prod"
97
+ route53_ttl = " 300"
98
+ route53_type = " CNAME"
99
+ route53_zone_id = " SERFxxxx6XCsY9Lxxxxx"
98
100
99
101
}
Original file line number Diff line number Diff line change @@ -379,7 +379,7 @@ variable "sg_description" {
379
379
# #---------------------route53------------------------
380
380
variable "route53_record_enabled" {
381
381
type = bool
382
- default = true
382
+ default = false
383
383
description = " Whether to create Route53 record set."
384
384
}
385
385
@@ -421,7 +421,7 @@ variable "ssm_parameter_enabled" {
421
421
}
422
422
variable "ssm_parameter_endpoint_enabled" {
423
423
type = bool
424
- default = true
424
+ default = false
425
425
description = " Name of the parameter."
426
426
}
427
427
You can’t perform that action at this time.
0 commit comments