Files
AWS-ContainerLab-Deployment/terraform/outputs.tf
Damien A 22072de929 DNS Configuration Conditioning :
- Add AWS_R53_ENABLED variable
- Update Documentation
- Add ToDo
2024-01-02 19:32:23 +01:00

8 lines
284 B
HCL
Executable File

output "public_ip" {
value = aws_instance.containerlab_host.public_ip
}
output "containerlab_fqdn" {
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}" : ""
}