From a76a539a50fa1ae1fecb6a1dc77b1579bb5457b2 Mon Sep 17 00:00:00 2001 From: vickytechkey Date: Mon, 19 Oct 2026 19:50:50 +0530 Subject: [PATCH] feat: add TradhoxdomainStack for AWS Route53 records and ACM certificates --- tradhoxdomain/tradhoxdomain_stack.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tradhoxdomain/tradhoxdomain_stack.py b/tradhoxdomain/tradhoxdomain_stack.py index 75d1a4b..2d730ce 100644 --- a/tradhoxdomain/tradhoxdomain_stack.py +++ b/tradhoxdomain/tradhoxdomain_stack.py @@ -128,6 +128,21 @@ class TradhoxdomainStack(Stack): validation=acm.CertificateValidation.from_dns(hosted_zone), ) + # Status server (ResourceManagement / Uptime Kuma on cisystem) + route53.ARecord( + self, "StatusRecord", + zone=hosted_zone, + record_name="status", + target=route53.RecordTarget.from_ip_addresses(ci_system_ip) + ) + + # SSL Certificate for status.tradhox.com with Route53 DNS validation + self.status_certificate = acm.Certificate( + self, "StatusCertificate", + domain_name="status.tradhox.com", + validation=acm.CertificateValidation.from_dns(hosted_zone), + ) + # SSL Certificate for mailservices.tradhox.com with Route53 DNS validation self.mailservices_certificate = acm.Certificate( self, "MailservicesCertificate",