DNS Configuration Conditioning :
- Add AWS_R53_ENABLED variable - Update Documentation - Add ToDo
This commit is contained in:
@@ -3,5 +3,5 @@ output "public_ip" {
|
||||
}
|
||||
|
||||
output "containerlab_fqdn" {
|
||||
value = "${aws_route53_record.containerlab_fqdn.name}.${data.aws_route53_zone.selected.name}"
|
||||
value = var.AWS_R53_ENABLED && length(aws_route53_record.containerlab_fqdn) > 0 ? "${aws_route53_record.containerlab_fqdn[0].name}.${data.aws_route53_zone.selected.name}" : ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user