Skip to content

Commit

Permalink
Fixed variable name for FQDN
Browse files Browse the repository at this point in the history
  • Loading branch information
simonzhekoff committed Jul 11, 2024
1 parent 1998cd6 commit a7e7134
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
11 changes: 6 additions & 5 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down Expand Up @@ -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 = ""
}

0 comments on commit a7e7134

Please sign in to comment.