providers/aws: can create records with multiple values [GH-221]

This commit is contained in:
Mitchell Hashimoto 2014-08-22 17:19:39 -07:00
parent c886148e15
commit 623c635fb1
1 changed files with 3 additions and 3 deletions

View File

@ -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"]
} }
` `