Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create NHG records and Isomer Next VAPT #201

Merged
merged 9 commits into from
Aug 15, 2024
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;
};
Loading