Created
April 12, 2017 02:56
-
-
Save jschr/e53252fef59ebeb2a68bb14b609401a6 to your computer and use it in GitHub Desktop.
mailgun dns records
This file contains hidden or 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
resource "aws_route53_record" "mailgun_sending_1" { | |
zone_id = "${data.aws_route53_zone.domain.zone_id}" | |
ttl = "300" | |
name = "${mailgun_domain.domain.sending_records.0.name}" | |
type = "${mailgun_domain.domain.sending_records.0.record_type}" | |
records = ["${mailgun_domain.domain.sending_records.0.value}"] | |
} | |
resource "aws_route53_record" "mailgun_sending_2" { | |
zone_id = "${data.aws_route53_zone.domain.zone_id}" | |
ttl = "300" | |
name = "${mailgun_domain.domain.sending_records.1.name}" | |
type = "${mailgun_domain.domain.sending_records.1.record_type}" | |
records = ["${mailgun_domain.domain.sending_records.1.value}"] | |
} | |
... | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment