Created
January 26, 2023 22:41
-
-
Save timmyers/a24cf2211059f87d3e325c0ccb1e72a5 to your computer and use it in GitHub Desktop.
Fearless tools DNS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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