Skip to content

Commit

Permalink
Fixes automatic subdomain name generation by adjusting renamed output…
Browse files Browse the repository at this point in the history
… of rds module
  • Loading branch information
hajati committed Nov 6, 2024
1 parent 9a299fd commit 77f3e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion route53.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
locals {
public_endpoint_enabled = var.aws_route53_zone_endpoints_enabled && var.aws_route53_zone_public_endpoint_enabled
private_endpoint_enabled = var.aws_route53_zone_endpoints_enabled && var.aws_route53_zone_private_endpoint_enabled
subdomain_name = length(var.aws_route53_rds_subdomain_override) > 0 ? var.aws_route53_rds_subdomain_override : join(".", [module.rds.db_instance_id, local.rds_dns_subdomains[var.rds_engine]])
subdomain_name = length(var.aws_route53_rds_subdomain_override) > 0 ? var.aws_route53_rds_subdomain_override : join(".", [module.rds.db_instance_identifier, local.rds_dns_subdomains[var.rds_engine]])
}

data "aws_route53_zone" "public_endpoint" {
Expand Down

0 comments on commit 77f3e96

Please sign in to comment.