Skip to content

Commit

Permalink
Merge pull request #211 from isomerpages/staging
Browse files Browse the repository at this point in the history
Create iyptsypt.moe.edu.sg.ts
  • Loading branch information
mergify[bot] authored Sep 11, 2024
2 parents 1935221 + 41247de commit 30074c8
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions dns/iyptsypt.moe.edu.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("iyptsypt.moe.edu.sg A", {
name: "iyptsypt-moe-edu-sg",
type: "A",
zoneId: zoneId,
aliases: [
{
name: "dykcya1b7k9yw.cloudfront.net",
zoneId: CLOUDFRONT_HOSTED_ZONE_ID,
evaluateTargetHealth: false,
},
],
}),

new Record("iyptsypt.moe.edu.sg AAAA", {
name: "iyptsypt-moe-edu-sg",
type: "AAAA",
zoneId: zoneId,
aliases: [
{
name: "dykcya1b7k9yw.cloudfront.net",
zoneId: CLOUDFRONT_HOSTED_ZONE_ID,
evaluateTargetHealth: false,
},
],
}),
];

return records;
};

0 comments on commit 30074c8

Please sign in to comment.