{"action":"closed","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/8393","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/8393/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/8393/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/8393/events","html_url":"https://github.com/hashicorp/terraform/issues/8393","id":172518686,"number":8393,"title":"aws_route53_record create panic","user":{"login":"phinze","id":37534,"avatar_url":"https://avatars.githubusercontent.com/u/37534?v=3","gravatar_id":"","url":"https://api.github.com/users/phinze","html_url":"https://github.com/phinze","followers_url":"https://api.github.com/users/phinze/followers","following_url":"https://api.github.com/users/phinze/following{/other_user}","gists_url":"https://api.github.com/users/phinze/gists{/gist_id}","starred_url":"https://api.github.com/users/phinze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phinze/subscriptions","organizations_url":"https://api.github.com/users/phinze/orgs","repos_url":"https://api.github.com/users/phinze/repos","events_url":"https://api.github.com/users/phinze/events{/privacy}","received_events_url":"https://api.github.com/users/phinze/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hashicorp/terraform/labels/bug","name":"bug","color":"f7c6c7"},{"url":"https://api.github.com/repos/hashicorp/terraform/labels/crash","name":"crash","color":"e11d21"},{"url":"https://api.github.com/repos/hashicorp/terraform/labels/provider/aws","name":"provider/aws","color":"bfdadc"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-22T18:15:56Z","updated_at":"2016-08-24T01:10:29Z","closed_at":"2016-08-24T01:10:29Z","body":"### Terraform Version\r\n\r\nv0.7.1\r\n\r\n### Affected Resource(s)\r\n\r\n - aws_route53_record\r\n\r\n### Terraform Configuration Files\r\n\r\nAccidentally created two text records for the same key:\r\n\r\n```hcl\r\nresource \"aws_route53_record\" \"one\" {\r\n  zone_id = \"${aws_route53_zone.zone.id}\"\r\n  name    = \"${var.domain}\"\r\n  type    = \"TXT\"\r\n  ttl     = \"300\"\r\n  records = [\"one\"]\r\n}\r\nresource \"aws_route53_record\" \"two\" {\r\n  zone_id = \"${aws_route53_zone.zone.id}\"\r\n  name    = \"${var.domain}\"\r\n  type    = \"TXT\"\r\n  ttl     = \"300\"\r\n  records = [\"two\"]\r\n}\r\n```\r\n\r\n### Panic Output\r\n\r\n```\r\npanic: interface conversion: interface {} is nil, not *route53.ChangeResourceRecordSetsOutput\r\n2016/08/22 12:29:14 [DEBUG] plugin: terraform-provider-aws:\r\n2016/08/22 12:29:14 [DEBUG] plugin: terraform-provider-aws: goroutine 486 [running]:\r\n2016/08/22 12:29:14 [DEBUG] plugin: terraform-provider-aws: panic(0xe5bb20, 0xc4206fecc0)\r\n2016/08/22 12:29:14 [DEBUG] plugin: terraform-provider-aws:     /Users/phinze/.gimme/versions/go1.7.darwin.amd64/src/runtime/panic.go:500 +0x1a1\r\n2016/08/22 12:29:14 [DEBUG] plugin: terraform-provider-aws: github.com/hashicorp/terraform/builtin/providers/aws.resourceAwsRoute53RecordCreate(0xc4206ca9c0, 0xd16c20, 0xc42039e300, 0xe5fb60, 0xcaf1)\r\n2016/08/22 12:29:14 [DEBUG] plugin: terraform-provider-aws:     /Users/phinze/go/src/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_route53_record.go:274 +0xb0a\r\n2016/08/22 12:29:14 [DEBUG] plugin: terraform-provider-aws: github.com/hashicorp/terraform/helper/schema.(*Resource).Apply(0xc4206f0f00, 0xc42046d1c0, 0xc4202dbe00, 0xd16c20, 0xc42039e300, 0x1, 0xc4207206f0, 0x0)\r\n2016/08/22 12:29:14 [DEBUG] plugin: terraform-provider-aws:     /Users/phinze/go/src/github.com/hashicorp/terraform/helper/schema/resource.go:162 +0x30e\r\n2016/08/22 12:29:14 [DEBUG] plugin: terraform-provider-aws: github.com/hashicorp/terraform/helper/schema.(*Provider).Apply(0xc4206edf50, 0xc42046d180, 0xc42046d1c0, 0xc4202dbe00, 0x0, 0x18, 0x18)\r\n2016/08/22 12:29:14 [DEBUG] plugin: terraform-provider-aws:     /Users/phinze/go/src/github.com/hashicorp/terraform/helper/schema/provider.go:176 +0x9b\r\n2016/08/22 12:29:14 [DEBUG] plugin: terraform-provider-aws: github.com/hashicorp/terraform/plugin.(*ResourceProviderServer).Apply(0xc4202daf40, 0xc4202db640, 0xc4203c5fc0, 0x0, 0x0)\r\n2016/08/22 12:29:14 [DEBUG] plugin: terraform-provider-aws:     /Users/phinze/go/src/github.com/hashicorp/terraform/plugin/resource_provider.go:460 +0x57\r\n2016/08/22 12:29:14 [DEBUG] plugin: terraform-provider-aws: reflect.Value.call(0xc4203083c0, 0xc4205e8960, 0x13, 0x1020230, 0x4, 0xc42073fee0, 0x3, 0x3, 0xc4205c4e01, 0xc4205c4ea0, ...)\r\n2016/08/22 12:29:14 [DEBUG] plugin: terraform-provider-aws:     /Users/phinze/.gimme/versions/go1.7.darwin.amd64/src/reflect/value.go:434 +0x5c8\r\n2016/08/22 12:29:14 [DEBUG] plugin: terraform-provider-aws: reflect.Value.Call(0xc4203083c0, 0xc4205e8960, 0x13, 0xc42073fee0, 0x3, 0x3, 0x1, 0xc4204a7560, 0x20003)\r\n2016/08/22 12:29:14 [DEBUG] plugin: terraform-provider-aws:     /Users/phinze/.gimme/versions/go1.7.darwin.amd64/src/reflect/value.go:302 +0xa4\r\n2016/08/22 12:29:14 [DEBUG] plugin: terraform-provider-aws: net/rpc.(*service).call(0xc420017d40, 0xc420016680, 0xc42045c7c0, 0xc42031e780, 0xc4202d1140, 0xd177a0, 0xc4202db640, 0x16, 0xd177e0, 0xc4203c5fc0, ...)\r\n2016/08/22 12:29:14 [DEBUG] plugin: terraform-provider-aws:     /Users/phinze/.gimme/versions/go1.7.darwin.amd64/src/net/rpc/server.go:383 +0x148\r\n2016/08/22 12:29:14 [DEBUG] plugin: terraform-provider-aws: created by net/rpc.(*Server).ServeCodec\r\n2016/08/22 12:29:14 [DEBUG] plugin: terraform-provider-aws:     /Users/phinze/.gimme/versions/go1.7.darwin.amd64/src/net/rpc/server.go:477 +0x421\r\n```\r\n\r\n### Expected Behavior\r\n\r\nProbably just an error during apply.\r\n\r\n### Actual Behavior\r\n\r\nKaboom!\r\n\r\n### Steps to Reproduce\r\n\r\n1. `terraform apply`"}}
{"actor":{"display_login":"stack72"}}