{"action":"created","issue":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/332","repository_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/332/labels{/name}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/332/comments","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/332/events","html_url":"https://github.com/terraform-providers/terraform-provider-aws/issues/332","id":235638806,"node_id":"MDU6SXNzdWUyMzU2Mzg4MDY=","number":332,"title":"terraform plan does not detect missing `ttl` attribute for aws_route53_records","user":{"login":"hashibot","id":26720499,"node_id":"MDQ6VXNlcjI2NzIwNDk5","avatar_url":"https://avatars1.githubusercontent.com/u/26720499?v=4","gravatar_id":"","url":"https://api.github.com/users/hashibot","html_url":"https://github.com/hashibot","followers_url":"https://api.github.com/users/hashibot/followers","following_url":"https://api.github.com/users/hashibot/following{/other_user}","gists_url":"https://api.github.com/users/hashibot/gists{/gist_id}","starred_url":"https://api.github.com/users/hashibot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashibot/subscriptions","organizations_url":"https://api.github.com/users/hashibot/orgs","repos_url":"https://api.github.com/users/hashibot/repos","events_url":"https://api.github.com/users/hashibot/events{/privacy}","received_events_url":"https://api.github.com/users/hashibot/received_events","type":"User","site_admin":false},"labels":[{"id":620316239,"node_id":"MDU6TGFiZWw2MjAzMTYyMzk=","url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/labels/bug","name":"bug","color":"f7c6c7","default":true},{"id":801361832,"node_id":"MDU6TGFiZWw4MDEzNjE4MzI=","url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/labels/service/route53","name":"service/route53","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-06-13T18:02:45Z","updated_at":"2018-08-05T02:30:18Z","closed_at":null,"author_association":"NONE","body":"_This issue was originally opened by @mrwacky42 as hashicorp/terraform#9610. It was migrated here as part of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original body of the issue is below._\r\n\r\n<hr>\r\n\r\nHi there,\n\nThank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.\n### Terraform Version\n\n0.7.5 and 0.7.7\n### Affected Resource(s)\n\nPlease list the resources as a list, for example:\n- aws_route_53_record\n### Terraform Configuration Files\n\n``` hcl\nresource \"aws_route53_record\" \"example\" {\n    name = \"example\"\n    type = \"CNAME\"\n    zone_id = \"${var.example_zone_id}\"\n    records = [\"hashicorp.com\"]\n}\n```\n### Debug Output\n\nN/A\n### Panic Output\n\nN/A\n### Expected Behavior\n\nTF should have bellyached that `TTL` is required \n### Actual Behavior\n\nTerraform shows this plan:\n\n```\n+ aws_route53_record.example\n    fqdn:               \"<computed>\"\n    name:               \"example\"\n    records.#:          \"1\"\n    records.4210768119: \"hashicorp.com\"\n    type:               \"CNAME\"\n    zone_id:            \"<redacted>\"\n```\n\nBut trying to apply yields the problem:\n\n```\nError applying plan:\n\n1 error(s) occurred:\n\n* aws_route53_record.example: provider.aws: aws_route53_record: example: \"ttl\": required field is not set\n```\n### Steps to Reproduce\n\nPlease list the steps required to reproduce the issue, for example:\n1. `terraform apply saved-plan` (where plan has a `aws_route53_resource` that has no TTL argument)\n### Important Factoids\n\nN/A\n### References\n\nN/A\n"},"comment":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/comments/410490996","html_url":"https://github.com/terraform-providers/terraform-provider-aws/issues/332#issuecomment-410490996","issue_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/332","id":410490996,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDQ5MDk5Ng==","user":{"login":"natefaerber","id":3720207,"node_id":"MDQ6VXNlcjM3MjAyMDc=","avatar_url":"https://avatars0.githubusercontent.com/u/3720207?v=4","gravatar_id":"","url":"https://api.github.com/users/natefaerber","html_url":"https://github.com/natefaerber","followers_url":"https://api.github.com/users/natefaerber/followers","following_url":"https://api.github.com/users/natefaerber/following{/other_user}","gists_url":"https://api.github.com/users/natefaerber/gists{/gist_id}","starred_url":"https://api.github.com/users/natefaerber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natefaerber/subscriptions","organizations_url":"https://api.github.com/users/natefaerber/orgs","repos_url":"https://api.github.com/users/natefaerber/repos","events_url":"https://api.github.com/users/natefaerber/events{/privacy}","received_events_url":"https://api.github.com/users/natefaerber/received_events","type":"User","site_admin":false},"created_at":"2018-08-05T02:30:18Z","updated_at":"2018-08-05T02:30:18Z","author_association":"NONE","body":"@yeukhon , Glad to see the documentation is going to be updated.  But are there any plans to support `0` ttl?"}}
{"actor":{"display_login":"natefaerber"}}