providers/aws: can create records with multiple values [GH-221]
This commit is contained in:
parent
c886148e15
commit
623c635fb1
|
@ -89,14 +89,14 @@ func testAccCheckRoute53RecordExists(n string) resource.TestCheckFunc {
|
||||||
|
|
||||||
const testAccRoute53RecordConfig = `
|
const testAccRoute53RecordConfig = `
|
||||||
resource "aws_route53_zone" "main" {
|
resource "aws_route53_zone" "main" {
|
||||||
name = "example.com"
|
name = "notexample.com"
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "aws_route53_record" "default" {
|
resource "aws_route53_record" "default" {
|
||||||
zone_id = "${aws_route53_zone.main.zone_id}"
|
zone_id = "${aws_route53_zone.main.zone_id}"
|
||||||
name = "www.example.com"
|
name = "www.notexample.com"
|
||||||
type = "A"
|
type = "A"
|
||||||
ttl = "30"
|
ttl = "30"
|
||||||
records = ["127.0.0.1"]
|
records = ["127.0.0.1", "127.0.0.27"]
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
Loading…
Reference in New Issue