{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/455","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/455/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/455/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/455/events","html_url":"https://github.com/hashicorp/terraform/issues/455","id":46201123,"number":455,"title":"aws_route53_record TXT type is not being handled properly","user":{"login":"pmoust","id":2493339,"avatar_url":"https://avatars.githubusercontent.com/u/2493339?v=3","gravatar_id":"","url":"https://api.github.com/users/pmoust","html_url":"https://github.com/pmoust","followers_url":"https://api.github.com/users/pmoust/followers","following_url":"https://api.github.com/users/pmoust/following{/other_user}","gists_url":"https://api.github.com/users/pmoust/gists{/gist_id}","starred_url":"https://api.github.com/users/pmoust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmoust/subscriptions","organizations_url":"https://api.github.com/users/pmoust/orgs","repos_url":"https://api.github.com/users/pmoust/repos","events_url":"https://api.github.com/users/pmoust/events{/privacy}","received_events_url":"https://api.github.com/users/pmoust/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/provider/aws","name":"provider/aws","color":"bfdadc"}],"state":"open","locked":false,"assignee":{"login":"pearkes","id":846194,"avatar_url":"https://avatars.githubusercontent.com/u/846194?v=3","gravatar_id":"","url":"https://api.github.com/users/pearkes","html_url":"https://github.com/pearkes","followers_url":"https://api.github.com/users/pearkes/followers","following_url":"https://api.github.com/users/pearkes/following{/other_user}","gists_url":"https://api.github.com/users/pearkes/gists{/gist_id}","starred_url":"https://api.github.com/users/pearkes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pearkes/subscriptions","organizations_url":"https://api.github.com/users/pearkes/orgs","repos_url":"https://api.github.com/users/pearkes/repos","events_url":"https://api.github.com/users/pearkes/events{/privacy}","received_events_url":"https://api.github.com/users/pearkes/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2014-10-19T09:40:40Z","updated_at":"2015-03-16T20:38:21Z","closed_at":null,"body":"I want to populate some TXT `aws_route53_record` to enter DKIM/SPF keys, currently it is not possible.\r\n\r\nhttps://github.com/pmoust/terraform-issues/tree/route53-txt-record configuration to reproduce\r\n\r\n```\r\nvariable \"aws_access_key\" {\r\n    description = \"Your AWS access key\"\r\n}\r\nvariable \"aws_secret_key\" {\r\n    description = \"Your AWS secret key\"\r\n}\r\nvariable \"aws_region\" {\r\n    description = \"AWS Region (defaults to N.Virginia)\"\r\n    default     = \"us-east-1\"\r\n}\r\nprovider \"aws\" {\r\n    access_key  = \"${var.aws_access_key}\"\r\n    secret_key  = \"${var.aws_secret_key}\"\r\n    region      = \"${var.aws_region}\"\r\n}\r\n\r\nresource \"aws_route53_zone\" \"foo\" {\r\n    name = \"bar.com\"\r\n}\r\n\r\nresource \"aws_route53_record\" \"dkim\" {\r\n    zone_id = \"${aws_route53_zone.foo.id}\"\r\n    name    = \"bar.com\"\r\n    type    = \"TXT\"\r\n    ttl     = \"300\"\r\n    records = [\"lalalala\"]\r\n}\r\n```\r\n\r\nResult: Zone created and:\r\n```\r\nError applying plan:\r\n\r\n1 error(s) occurred:\r\n\r\n* Request failed, got status code: 400. Response: <?xml version=\"1.0\"?>\r\n<ErrorResponse xmlns=\"https://route53.amazonaws.com/doc/2013-04-01/\"><Error><Type>Sender</Type><Code>InvalidChangeBatch</Code><Message>Invalid Resource Record: FATAL problem: InvalidTXTRDATA encountered at lalalala</Message></Error><RequestId>8ebd5b4f-5772-11e4-9620-05b813a96cfd</RequestId></ErrorResponse>\r\n```"},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/81925518","html_url":"https://github.com/hashicorp/terraform/issues/455#issuecomment-81925518","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/455","id":81925518,"user":{"login":"catsby","id":61721,"avatar_url":"https://avatars.githubusercontent.com/u/61721?v=3","gravatar_id":"","url":"https://api.github.com/users/catsby","html_url":"https://github.com/catsby","followers_url":"https://api.github.com/users/catsby/followers","following_url":"https://api.github.com/users/catsby/following{/other_user}","gists_url":"https://api.github.com/users/catsby/gists{/gist_id}","starred_url":"https://api.github.com/users/catsby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catsby/subscriptions","organizations_url":"https://api.github.com/users/catsby/orgs","repos_url":"https://api.github.com/users/catsby/repos","events_url":"https://api.github.com/users/catsby/events{/privacy}","received_events_url":"https://api.github.com/users/catsby/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T20:38:21Z","updated_at":"2015-03-16T20:38:21Z","body":"Attempt at fixing in #1213 "}}