{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/9610","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/9610/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/9610/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/9610/events","html_url":"https://github.com/hashicorp/terraform/issues/9610","id":185255130,"number":9610,"title":"terraform plan does not detect missing `ttl` attribute for aws_route53_records","user":{"login":"mrwacky42","id":355590,"avatar_url":"https://avatars.githubusercontent.com/u/355590?v=3","gravatar_id":"","url":"https://api.github.com/users/mrwacky42","html_url":"https://github.com/mrwacky42","followers_url":"https://api.github.com/users/mrwacky42/followers","following_url":"https://api.github.com/users/mrwacky42/following{/other_user}","gists_url":"https://api.github.com/users/mrwacky42/gists{/gist_id}","starred_url":"https://api.github.com/users/mrwacky42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrwacky42/subscriptions","organizations_url":"https://api.github.com/users/mrwacky42/orgs","repos_url":"https://api.github.com/users/mrwacky42/repos","events_url":"https://api.github.com/users/mrwacky42/events{/privacy}","received_events_url":"https://api.github.com/users/mrwacky42/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":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-25T22:54:15Z","updated_at":"2016-10-26T00:09:11Z","closed_at":"2016-10-25T23:19:45Z","body":"Hi there,\r\n\r\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.\r\n\r\n### Terraform Version\r\n0.7.5 and 0.7.7\r\n\r\n### Affected Resource(s)\r\nPlease list the resources as a list, for example:\r\n- aws_route_53_record\r\n\r\n### Terraform Configuration Files\r\n```hcl\r\nresource \"aws_route53_record\" \"example\" {\r\n    name = \"example\"\r\n    type = \"CNAME\"\r\n    zone_id = \"${var.example_zone_id}\"\r\n    records = [\"hashicorp.com\"]\r\n}\r\n```\r\n\r\n### Debug Output\r\nN/A\r\n\r\n### Panic Output\r\nN/A\r\n\r\n### Expected Behavior\r\nTF should have bellyached that `TTL` is required \r\n\r\n### Actual Behavior\r\nTerraform shows this plan:\r\n```\r\n+ aws_route53_record.example\r\n    fqdn:               \"<computed>\"\r\n    name:               \"example\"\r\n    records.#:          \"1\"\r\n    records.4210768119: \"hashicorp.com\"\r\n    type:               \"CNAME\"\r\n    zone_id:            \"<redacted>\"\r\n```\r\nBut trying to apply yields the problem:\r\n```\r\nError applying plan:\r\n\r\n1 error(s) occurred:\r\n\r\n* aws_route53_record.example: provider.aws: aws_route53_record: example: \"ttl\": required field is not set\r\n```\r\n\r\n### Steps to Reproduce\r\nPlease list the steps required to reproduce the issue, for example:\r\n1. `terraform apply saved-plan` (where plan has a `aws_route53_resource` that has no TTL argument)\r\n\r\n### Important Factoids\r\nN/A\r\n\r\n### References\r\nN/A\r\n"},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/256214669","html_url":"https://github.com/hashicorp/terraform/issues/9610#issuecomment-256214669","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/9610","id":256214669,"user":{"login":"mrwacky42","id":355590,"avatar_url":"https://avatars.githubusercontent.com/u/355590?v=3","gravatar_id":"","url":"https://api.github.com/users/mrwacky42","html_url":"https://github.com/mrwacky42","followers_url":"https://api.github.com/users/mrwacky42/followers","following_url":"https://api.github.com/users/mrwacky42/following{/other_user}","gists_url":"https://api.github.com/users/mrwacky42/gists{/gist_id}","starred_url":"https://api.github.com/users/mrwacky42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrwacky42/subscriptions","organizations_url":"https://api.github.com/users/mrwacky42/orgs","repos_url":"https://api.github.com/users/mrwacky42/repos","events_url":"https://api.github.com/users/mrwacky42/events{/privacy}","received_events_url":"https://api.github.com/users/mrwacky42/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T00:09:11Z","updated_at":"2016-10-26T00:09:11Z","body":"@stack72  - This patch was merged to master almost 18 months ago.\r\nAnd I just tested 0.7.7 and still the same behavior. The patch I mentioned fires the error at `apply` time, but not when I `plan`.\r\n\r\nPlease reopen."}}
{"actor":{"display_login":"mrwacky42"}}