Skip to content

Commit

Permalink
Create singaporetrauma.com.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
isomeradmin committed Dec 10, 2024
1 parent 4d01e8f commit c68b037
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions dns/singaporetrauma.com.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("singaporetrauma.com A", {
name: "singaporetrauma-com",
type: "A",
zoneId: zoneId,
aliases: [
{
name: "d3ryyn6ycqsj7s.cloudfront.net",
zoneId: CLOUDFRONT_HOSTED_ZONE_ID,
evaluateTargetHealth: false,
},
],
}),

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

return records;
};

0 comments on commit c68b037

Please sign in to comment.