Skip to content

Commit

Permalink
feat: update value route-53
Browse files Browse the repository at this point in the history
  • Loading branch information
anmolnagpal committed Jun 9, 2023
1 parent e89ccdd commit d80101b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
10 changes: 6 additions & 4 deletions _example/redis-cluster/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,10 @@ module "redis-cluster" {
####----------------------------------------------------------------------------------
## will create ROUTE-53 for redis which will add the dns of the cluster.
####----------------------------------------------------------------------------------
dns_record_name = "prod"
route53_ttl = "300"
route53_type = "CNAME"
route53_zone_id = "Z0xxxx16XCxxxxxxx4"
ssm_parameter_endpoint_enabled = true
route53_record_enabled = true
dns_record_name = "prod"
route53_ttl = "300"
route53_type = "CNAME"
route53_zone_id = "Z0xxxx16XCxxxxxxx4"
}
10 changes: 6 additions & 4 deletions _example/redis/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,11 @@ module "redis" {
## will create ROUTE-53 for redis which will add the dns of the cluster.
####----------------------------------------------------------------------------------
#tfsec:ignore:aws-ec2-no-public-egress-sgr
dns_record_name = "prod"
route53_ttl = "300"
route53_type = "CNAME"
route53_zone_id = "SERFxxxx6XCsY9Lxxxxx"
route53_record_enabled = true
ssm_parameter_endpoint_enabled = true
dns_record_name = "prod"
route53_ttl = "300"
route53_type = "CNAME"
route53_zone_id = "SERFxxxx6XCsY9Lxxxxx"

}
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ variable "sg_description" {
##---------------------route53------------------------
variable "route53_record_enabled" {
type = bool
default = true
default = false
description = "Whether to create Route53 record set."
}

Expand Down Expand Up @@ -421,7 +421,7 @@ variable "ssm_parameter_enabled" {
}
variable "ssm_parameter_endpoint_enabled" {
type = bool
default = true
default = false
description = "Name of the parameter."
}

Expand Down

0 comments on commit d80101b

Please sign in to comment.