diff --git a/dns/gri.nhg.com.sg.ts b/dns/gri.nhg.com.sg.ts index 480b30e..365ede6 100644 --- a/dns/gri.nhg.com.sg.ts +++ b/dns/gri.nhg.com.sg.ts @@ -9,7 +9,7 @@ export const createRecords = (zoneId: string): Record[] => { zoneId: zoneId, aliases: [ { - name: "d2xt3bxnoge3ub.cloudfront.net", + name: "d2co9d0i7c6qln.cloudfront.net", zoneId: CLOUDFRONT_HOSTED_ZONE_ID, evaluateTargetHealth: false, }, @@ -22,7 +22,7 @@ export const createRecords = (zoneId: string): Record[] => { zoneId: zoneId, aliases: [ { - name: "d2xt3bxnoge3ub.cloudfront.net", + name: "d2co9d0i7c6qln.cloudfront.net", zoneId: CLOUDFRONT_HOSTED_ZONE_ID, evaluateTargetHealth: false, }, diff --git a/dns/onestoppayroll.gov.sg.ts b/dns/onestoppayroll.gov.sg.ts new file mode 100644 index 0000000..cd9d04b --- /dev/null +++ b/dns/onestoppayroll.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("onestoppayroll.gov.sg A", { + name: "onestoppayroll-gov-sg", + type: "A", + zoneId: zoneId, + aliases: [ + { + name: "d25behx5zluwox.cloudfront.net", + zoneId: CLOUDFRONT_HOSTED_ZONE_ID, + evaluateTargetHealth: false, + }, + ], + }), + + new Record("onestoppayroll.gov.sg AAAA", { + name: "onestoppayroll-gov-sg", + type: "AAAA", + zoneId: zoneId, + aliases: [ + { + name: "d25behx5zluwox.cloudfront.net", + zoneId: CLOUDFRONT_HOSTED_ZONE_ID, + evaluateTargetHealth: false, + }, + ], + }), + ]; + + return records; +};