Skip to content

Commit

Permalink
Merge pull request #201 from isomerpages/staging
Browse files Browse the repository at this point in the history
Create NHG records and Isomer Next VAPT
  • Loading branch information
dcshzj authored Aug 15, 2024
2 parents 89a31ae + e7ef9e2 commit fa9399c
Show file tree
Hide file tree
Showing 9 changed files with 306 additions and 0 deletions.
34 changes: 34 additions & 0 deletions dns/admin.gri.nhg.com.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("admin.gri.nhg.com.sg A", {
name: "admin-gri-nhg-com-sg",
type: "A",
zoneId: zoneId,
aliases: [
{
name: "d87qmooo2sgpz.cloudfront.net",
zoneId: CLOUDFRONT_HOSTED_ZONE_ID,
evaluateTargetHealth: false,
},
],
}),

new Record("admin.gri.nhg.com.sg AAAA", {
name: "admin-gri-nhg-com-sg",
type: "AAAA",
zoneId: zoneId,
aliases: [
{
name: "d87qmooo2sgpz.cloudfront.net",
zoneId: CLOUDFRONT_HOSTED_ZONE_ID,
evaluateTargetHealth: false,
},
],
}),
];

return records;
};
34 changes: 34 additions & 0 deletions dns/ecossupport.gri.nhg.com.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("ecossupport.gri.nhg.com.sg A", {
name: "ecossupport-gri-nhg-com-sg",
type: "A",
zoneId: zoneId,
aliases: [
{
name: "d1cprcknevlpvt.cloudfront.net",
zoneId: CLOUDFRONT_HOSTED_ZONE_ID,
evaluateTargetHealth: false,
},
],
}),

new Record("ecossupport.gri.nhg.com.sg AAAA", {
name: "ecossupport-gri-nhg-com-sg",
type: "AAAA",
zoneId: zoneId,
aliases: [
{
name: "d1cprcknevlpvt.cloudfront.net",
zoneId: CLOUDFRONT_HOSTED_ZONE_ID,
evaluateTargetHealth: false,
},
],
}),
];

return records;
};
34 changes: 34 additions & 0 deletions dns/ethics.gri.nhg.com.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("ethics.gri.nhg.com.sg A", {
name: "ethics-gri-nhg-com-sg",
type: "A",
zoneId: zoneId,
aliases: [
{
name: "d388p511cw3fn0.cloudfront.net",
zoneId: CLOUDFRONT_HOSTED_ZONE_ID,
evaluateTargetHealth: false,
},
],
}),

new Record("ethics.gri.nhg.com.sg AAAA", {
name: "ethics-gri-nhg-com-sg",
type: "AAAA",
zoneId: zoneId,
aliases: [
{
name: "d388p511cw3fn0.cloudfront.net",
zoneId: CLOUDFRONT_HOSTED_ZONE_ID,
evaluateTargetHealth: false,
},
],
}),
];

return records;
};
34 changes: 34 additions & 0 deletions dns/gri.nhg.com.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("gri.nhg.com.sg A", {
name: "gri-nhg-com-sg",
type: "A",
zoneId: zoneId,
aliases: [
{
name: "d2xt3bxnoge3ub.cloudfront.net",
zoneId: CLOUDFRONT_HOSTED_ZONE_ID,
evaluateTargetHealth: false,
},
],
}),

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

return records;
};
34 changes: 34 additions & 0 deletions dns/innovation.gri.nhg.com.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("innovation.gri.nhg.com.sg A", {
name: "innovation-gri-nhg-com-sg",
type: "A",
zoneId: zoneId,
aliases: [
{
name: "db2zm16mm9wud.cloudfront.net",
zoneId: CLOUDFRONT_HOSTED_ZONE_ID,
evaluateTargetHealth: false,
},
],
}),

new Record("innovation.gri.nhg.com.sg AAAA", {
name: "innovation-gri-nhg-com-sg",
type: "AAAA",
zoneId: zoneId,
aliases: [
{
name: "db2zm16mm9wud.cloudfront.net",
zoneId: CLOUDFRONT_HOSTED_ZONE_ID,
evaluateTargetHealth: false,
},
],
}),
];

return records;
};
34 changes: 34 additions & 0 deletions dns/isomer-next-vapt.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("isomer-next-vapt.isomer.gov.sg A", {
name: "isomer-next-vapt-isomer-gov-sg",
type: "A",
zoneId: zoneId,
aliases: [
{
name: "da8amxe7wsdmh.cloudfront.net",
zoneId: CLOUDFRONT_HOSTED_ZONE_ID,
evaluateTargetHealth: false,
},
],
}),

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

return records;
};
34 changes: 34 additions & 0 deletions dns/redcapsupport.gri.nhg.com.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("redcapsupport.gri.nhg.com.sg A", {
name: "redcapsupport-gri-nhg-com-sg",
type: "A",
zoneId: zoneId,
aliases: [
{
name: "d36lcpgb6rkuac.cloudfront.net",
zoneId: CLOUDFRONT_HOSTED_ZONE_ID,
evaluateTargetHealth: false,
},
],
}),

new Record("redcapsupport.gri.nhg.com.sg AAAA", {
name: "redcapsupport-gri-nhg-com-sg",
type: "AAAA",
zoneId: zoneId,
aliases: [
{
name: "d36lcpgb6rkuac.cloudfront.net",
zoneId: CLOUDFRONT_HOSTED_ZONE_ID,
evaluateTargetHealth: false,
},
],
}),
];

return records;
};
34 changes: 34 additions & 0 deletions dns/research.gri.nhg.com.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("research.gri.nhg.com.sg A", {
name: "research-gri-nhg-com-sg",
type: "A",
zoneId: zoneId,
aliases: [
{
name: "d2lbrvvv5hjjjd.cloudfront.net",
zoneId: CLOUDFRONT_HOSTED_ZONE_ID,
evaluateTargetHealth: false,
},
],
}),

new Record("research.gri.nhg.com.sg AAAA", {
name: "research-gri-nhg-com-sg",
type: "AAAA",
zoneId: zoneId,
aliases: [
{
name: "d2lbrvvv5hjjjd.cloudfront.net",
zoneId: CLOUDFRONT_HOSTED_ZONE_ID,
evaluateTargetHealth: false,
},
],
}),
];

return records;
};
34 changes: 34 additions & 0 deletions dns/talentdev.gri.nhg.com.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("talentdev.gri.nhg.com.sg A", {
name: "talentdev-gri-nhg-com-sg",
type: "A",
zoneId: zoneId,
aliases: [
{
name: "dszksos4s1ri8.cloudfront.net",
zoneId: CLOUDFRONT_HOSTED_ZONE_ID,
evaluateTargetHealth: false,
},
],
}),

new Record("talentdev.gri.nhg.com.sg AAAA", {
name: "talentdev-gri-nhg-com-sg",
type: "AAAA",
zoneId: zoneId,
aliases: [
{
name: "dszksos4s1ri8.cloudfront.net",
zoneId: CLOUDFRONT_HOSTED_ZONE_ID,
evaluateTargetHealth: false,
},
],
}),
];

return records;
};

0 comments on commit fa9399c

Please sign in to comment.