Skip to content

Commit

Permalink
Create spor.performancereports.gov.sg.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
dcshzj authored Oct 29, 2024
1 parent 07fd3af commit 0ce5cfb
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions dns/spor.performancereports.gov.sg.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import { Record } from "@pulumi/aws/route53";
import { CLOUDFRONT_HOSTED_ZONE_ID } from "../constants";
export const createRecords = (zoneId: string): Record[] => {
const records = [
new Record("spor.performancereports.gov.sg A", {
name: "spor-performancereports-gov-sg",
type: "A",
zoneId: zoneId,
aliases: [
{
name: "d22qln63izve6v.cloudfront.net",
zoneId: CLOUDFRONT_HOSTED_ZONE_ID,
evaluateTargetHealth: false,
},
],
}),
new Record("spor.performancereports.gov.sg AAAA", {
name: "spor-performancereports-gov-sg",
type: "AAAA",
zoneId: zoneId,
aliases: [
{
name: "d22qln63izve6v.cloudfront.net",
zoneId: CLOUDFRONT_HOSTED_ZONE_ID,
evaluateTargetHealth: false,
},
],
}),
];
return records;
};

0 comments on commit 0ce5cfb

Please sign in to comment.