From eb9384a0ff578bf85811a6d066d699290790d602 Mon Sep 17 00:00:00 2001 From: Isomer Admin <60170571+isomeradmin@users.noreply.github.com> Date: Wed, 3 Jan 2024 12:00:51 +0800 Subject: [PATCH 1/2] Create test-integration.isomer.gov.sg.ts --- dns/test-integration.isomer.gov.sg.ts | 34 +++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 dns/test-integration.isomer.gov.sg.ts diff --git a/dns/test-integration.isomer.gov.sg.ts b/dns/test-integration.isomer.gov.sg.ts new file mode 100644 index 00000000..8076f82a --- /dev/null +++ b/dns/test-integration.isomer.gov.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("test-integration.isomer.gov.sg A", { + name: "test-integration-isomer-gov-sg", + type: "A", + zoneId: zoneId, + aliases: [ + { + name: "d2878pwi7zean2.cloudfront.net", + zoneId: CLOUDFRONT_HOSTED_ZONE_ID, + evaluateTargetHealth: false, + }, + ], + }), + + new Record("test-integration.isomer.gov.sg AAAA", { + name: "test-integration-isomer-gov-sg", + type: "AAAA", + zoneId: zoneId, + aliases: [ + { + name: "d2878pwi7zean2.cloudfront.net", + zoneId: CLOUDFRONT_HOSTED_ZONE_ID, + evaluateTargetHealth: false, + }, + ], + }), + ]; + + return records; +}; From 99b45b22c374a55c2493da2c32a5ee417d2f5703 Mon Sep 17 00:00:00 2001 From: Isomer Admin <60170571+isomeradmin@users.noreply.github.com> Date: Fri, 5 Jan 2024 17:22:46 +0800 Subject: [PATCH 2/2] Create ohno.isomer.gov.sg.ts --- dns/ohno.isomer.gov.sg.ts | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 dns/ohno.isomer.gov.sg.ts diff --git a/dns/ohno.isomer.gov.sg.ts b/dns/ohno.isomer.gov.sg.ts new file mode 100644 index 00000000..ba38a530 --- /dev/null +++ b/dns/ohno.isomer.gov.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("ohno.isomer.gov.sg A", { + name: "ohno-isomer-gov-sg", + type: "A", + zoneId: zoneId, + aliases: [ + { + name: "d3kakrm9cjoot4.cloudfront.net", + zoneId: CLOUDFRONT_HOSTED_ZONE_ID, + evaluateTargetHealth: false, + }, + ], + }), + + new Record("ohno.isomer.gov.sg AAAA", { + name: "ohno-isomer-gov-sg", + type: "AAAA", + zoneId: zoneId, + aliases: [ + { + name: "d3kakrm9cjoot4.cloudfront.net", + zoneId: CLOUDFRONT_HOSTED_ZONE_ID, + evaluateTargetHealth: false, + }, + ], + }), + ]; + + return records; +};