Skip to content

Commit d80101b

Browse files
committed
feat: update value route-53
1 parent e89ccdd commit d80101b

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed

_example/redis-cluster/example.tf

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,10 @@ module "redis-cluster" {
7575
####----------------------------------------------------------------------------------
7676
## will create ROUTE-53 for redis which will add the dns of the cluster.
7777
####----------------------------------------------------------------------------------
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"
8284
}

_example/redis/example.tf

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,11 @@ module "redis" {
9191
## will create ROUTE-53 for redis which will add the dns of the cluster.
9292
####----------------------------------------------------------------------------------
9393
#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"
98100

99101
}

variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ variable "sg_description" {
379379
##---------------------route53------------------------
380380
variable "route53_record_enabled" {
381381
type = bool
382-
default = true
382+
default = false
383383
description = "Whether to create Route53 record set."
384384
}
385385

@@ -421,7 +421,7 @@ variable "ssm_parameter_enabled" {
421421
}
422422
variable "ssm_parameter_endpoint_enabled" {
423423
type = bool
424-
default = true
424+
default = false
425425
description = "Name of the parameter."
426426
}
427427

0 commit comments

Comments
 (0)