From 99e4843d5675fb8494ac4b386df3d3c2586c9dc6 Mon Sep 17 00:00:00 2001 From: Isomer Admin <60170571+isomeradmin@users.noreply.github.com> Date: Fri, 15 Dec 2023 09:54:39 +0800 Subject: [PATCH 1/2] Create hci.edu.sg.ts --- dns/hci.edu.sg.ts | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 dns/hci.edu.sg.ts diff --git a/dns/hci.edu.sg.ts b/dns/hci.edu.sg.ts new file mode 100644 index 00000000..8b19b4b1 --- /dev/null +++ b/dns/hci.edu.sg.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("hci.edu.sg A", { + name: "hci-edu-sg", + type: "A", + zoneId: zoneId, + aliases: [ + { + name: "d1my63no1r1s2a.cloudfront.net", + zoneId: CLOUDFRONT_HOSTED_ZONE_ID, + evaluateTargetHealth: false, + }, + ], + }), + + new Record("hci.edu.sg AAAA", { + name: "hci-edu-sg", + type: "AAAA", + zoneId: zoneId, + aliases: [ + { + name: "d1my63no1r1s2a.cloudfront.net", + zoneId: CLOUDFRONT_HOSTED_ZONE_ID, + evaluateTargetHealth: false, + }, + ], + }), + ]; + + return records; +}; From 7e612b43ea6b3b5ab72fe665b454e4fdb425c445 Mon Sep 17 00:00:00 2001 From: Isomer Admin <60170571+isomeradmin@users.noreply.github.com> Date: Fri, 15 Dec 2023 09:54:49 +0800 Subject: [PATCH 2/2] Create sgwomenintech.sg.ts --- dns/sgwomenintech.sg.ts | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 dns/sgwomenintech.sg.ts diff --git a/dns/sgwomenintech.sg.ts b/dns/sgwomenintech.sg.ts new file mode 100644 index 00000000..f4c61448 --- /dev/null +++ b/dns/sgwomenintech.sg.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("sgwomenintech.sg A", { + name: "sgwomenintech-sg", + type: "A", + zoneId: zoneId, + aliases: [ + { + name: "dxk58lybofc5i.cloudfront.net", + zoneId: CLOUDFRONT_HOSTED_ZONE_ID, + evaluateTargetHealth: false, + }, + ], + }), + + new Record("sgwomenintech.sg AAAA", { + name: "sgwomenintech-sg", + type: "AAAA", + zoneId: zoneId, + aliases: [ + { + name: "dxk58lybofc5i.cloudfront.net", + zoneId: CLOUDFRONT_HOSTED_ZONE_ID, + evaluateTargetHealth: false, + }, + ], + }), + ]; + + return records; +};