Files
AWS-ContainerLab-Deployment/terraform/route53-record.tf
Damien A 609e616d7c Add behavior :
- Personal SSH Key 🔐
- Deploy repository from variables ⚙️
- Import custom network images 🛜
2023-11-10 10:59:04 +01:00

12 lines
274 B
HCL

data "aws_route53_zone" "selected" {
zone_id = var.AWS_R53_ZONE_ID
}
resource "aws_route53_record" "containerlab_fqdn" {
zone_id = var.AWS_R53_ZONE_ID
name = "containerlab"
type = "A"
ttl = "300"
records = [aws_instance.containerlab_host.public_ip]
}