feat: add TradhoxdomainStack for AWS Route53 records and ACM certificates
This commit is contained in:
parent
60e27eb0dc
commit
a76a539a50
1 changed files with 15 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue