Last active
August 20, 2019 07:50
-
-
Save dabio/524161c69c771ca3b3c5fa3ea1739a4e to your computer and use it in GitHub Desktop.
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
provider "aws" { | |
region = "eu-central-1" | |
} | |
resource "aws_route53_zone" "main" { | |
name = "dab.io" | |
} | |
resource "aws_route53_record" "naked" { | |
zone_id = "${aws_route53_zone.main.zone_id}" | |
name = "" | |
type = "A" | |
ttl = "3600" | |
records = [ | |
"185.199.108.153", | |
"185.199.109.153", | |
"185.199.110.153", | |
"185.199.111.153", | |
] | |
} | |
resource "aws_route53_record" "www" { | |
zone_id = "${aws_route53_zone.main.zone_id}" | |
name = "www" | |
type = "CNAME" | |
ttl = "86400" | |
records = ["dabio.github.com"] | |
} | |
resource "aws_route53_record" "jsonmax" { | |
zone_id = "${aws_route53_zone.main.zone_id}" | |
name = "jsonmax" | |
type = "CNAME" | |
ttl = "86400" | |
records = ["dabio.github.com"] | |
} | |
resource "aws_route53_record" "txt" { | |
zone_id = "${aws_route53_zone.main.zone_id}" | |
name = "" | |
type = "TXT" | |
ttl = "3600" | |
records = [ | |
"keybase-site-verification=IymNCOeLMGlp-pylzx3BPijnYaNd0yb2U68oAOCgsx8" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment