From c68b03733be6ba86ac6e391acd5535ece9fc2ef3 Mon Sep 17 00:00:00 2001 From: Isomer Admin <60170571+isomeradmin@users.noreply.github.com> Date: Tue, 10 Dec 2024 09:16:56 +0800 Subject: [PATCH] Create singaporetrauma.com.ts --- dns/singaporetrauma.com.ts | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 dns/singaporetrauma.com.ts diff --git a/dns/singaporetrauma.com.ts b/dns/singaporetrauma.com.ts new file mode 100644 index 0000000..3d302b8 --- /dev/null +++ b/dns/singaporetrauma.com.ts @@ -0,0 +1,34 @@ +import { Record } from "@pulumi/aws/route53"; +import { CLOUDFRONT_HOSTED_ZONE_ID } from "../constants"; + +export const createRecords = (zoneId: string): Record[] => { + const records = [ + new Record("singaporetrauma.com A", { + name: "singaporetrauma-com", + type: "A", + zoneId: zoneId, + aliases: [ + { + name: "d3ryyn6ycqsj7s.cloudfront.net", + zoneId: CLOUDFRONT_HOSTED_ZONE_ID, + evaluateTargetHealth: false, + }, + ], + }), + + new Record("singaporetrauma.com AAAA", { + name: "singaporetrauma-com", + type: "AAAA", + zoneId: zoneId, + aliases: [ + { + name: "d3ryyn6ycqsj7s.cloudfront.net", + zoneId: CLOUDFRONT_HOSTED_ZONE_ID, + evaluateTargetHealth: false, + }, + ], + }), + ]; + + return records; +};