Skip to content

Commit

Permalink
Merge pull request #82 from isomerpages/staging
Browse files Browse the repository at this point in the history
Create mlc.sg.ts
  • Loading branch information
juliuschanjq authored Jan 10, 2024
2 parents 6971352 + 384243a commit 32e4058
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions dns/mlc.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("mlc.sg A", {
name: "mlc-sg",
type: "A",
zoneId: zoneId,
aliases: [
{
name: "d1ko05no2n1c01.cloudfront.net",
zoneId: CLOUDFRONT_HOSTED_ZONE_ID,
evaluateTargetHealth: false,
},
],
}),

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

return records;
};

0 comments on commit 32e4058

Please sign in to comment.