Skip to content

Commit

Permalink
Merge pull request #132 from isomerpages/staging
Browse files Browse the repository at this point in the history
  • Loading branch information
shazlithebestie authored May 15, 2024
2 parents e4a0834 + 1d8811a commit 4b6935d
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions dns/vapt-ndp.isomer.gov.sg.ts
Original file line number Diff line number Diff line change
@@ -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("vapt-ndp.isomer.gov.sg A", {
name: "vapt-ndp-isomer-gov-sg",
type: "A",
zoneId: zoneId,
aliases: [
{
name: "d2kjbbcytvb26e.cloudfront.net",
zoneId: CLOUDFRONT_HOSTED_ZONE_ID,
evaluateTargetHealth: false,
},
],
}),

new Record("vapt-ndp.isomer.gov.sg AAAA", {
name: "vapt-ndp-isomer-gov-sg",
type: "AAAA",
zoneId: zoneId,
aliases: [
{
name: "d2kjbbcytvb26e.cloudfront.net",
zoneId: CLOUDFRONT_HOSTED_ZONE_ID,
evaluateTargetHealth: false,
},
],
}),
];

return records;
};

0 comments on commit 4b6935d

Please sign in to comment.