Skip to content

Instantly share code, notes, and snippets.

@timmyers
Created January 26, 2023 22:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timmyers/a24cf2211059f87d3e325c0ccb1e72a5 to your computer and use it in GitHub Desktop.
Save timmyers/a24cf2211059f87d3e325c0ccb1e72a5 to your computer and use it in GitHub Desktop.
Fearless tools DNS
import * as aws from '@pulumi/aws';
const defaultTags = { Creator: 'pulumi' };
const fearlessTools = new aws.route53.Zone('fearless.tools', {
name: 'fearless.tools',
tags: { Name: 'fearless.tools', ...defaultTags },
});
new aws.route53.Record('fearless.tools', {
zoneId: fearlessTools.zoneId,
name: 'fearless.tools',
type: 'A',
ttl: 300,
records: ['76.76.21.21']
})
new aws.route53.Record('www.fearless.tools', {
zoneId: fearlessTools.zoneId,
name: 'www.fearless.tools',
type: 'CNAME',
ttl: 300,
records: ['cname.vercel-dns.com']
})
export const fearlessToolsNameServers = fearlessTools.nameServers;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment