diff --git a/main.tf b/main.tf index 032dc93..2ad0eac 100644 --- a/main.tf +++ b/main.tf @@ -41,7 +41,7 @@ locals { var.sns_default_kms_key)) : var.sns_default_kms_key ) - route53_availability_request_url = var.fqdn_url != "" ? var.fqdn_url : module.load_balancer.lb_dns_name + route53_availability_request_url = var.monitoring_route53_healtcheck_fqdn_url != "" ? var.monitoring_route53_healtcheck_fqdn_url: module.load_balancer.lb_dns_name route53_availability_port = var.lb_tls_certificate_arn != "" ? 443 : 80 } diff --git a/variables.tf b/variables.tf index 1249141..6455039 100644 --- a/variables.tf +++ b/variables.tf @@ -362,6 +362,12 @@ variable "monitoring_route53_health_check_aws_region" { default = "us-east-1" } +variable "monitoring_route53_healtcheck_fqdn_url" { + description = "Define custom domain name for the Route53 Health check" + type = string + default = "" +} + # GraphDB overrides variable "graphdb_properties_path" { @@ -741,8 +747,3 @@ variable "sns_rotation_enabled" { default = true } -variable "fqdn_url" { - description = "Define custom domain name for the Route53 Health check" - type = string - default = "" -}