{"action":"opened","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/7400","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/7400/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/7400/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/7400/events","html_url":"https://github.com/hashicorp/terraform/issues/7400","id":162767498,"number":7400,"title":"provider/aws: aws_cloudformation_stack doesn't check input properly","user":{"login":"Bowbaq","id":618381,"avatar_url":"https://avatars.githubusercontent.com/u/618381?v=3","gravatar_id":"","url":"https://api.github.com/users/Bowbaq","html_url":"https://github.com/Bowbaq","followers_url":"https://api.github.com/users/Bowbaq/followers","following_url":"https://api.github.com/users/Bowbaq/following{/other_user}","gists_url":"https://api.github.com/users/Bowbaq/gists{/gist_id}","starred_url":"https://api.github.com/users/Bowbaq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bowbaq/subscriptions","organizations_url":"https://api.github.com/users/Bowbaq/orgs","repos_url":"https://api.github.com/users/Bowbaq/repos","events_url":"https://api.github.com/users/Bowbaq/events{/privacy}","received_events_url":"https://api.github.com/users/Bowbaq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-06-28T19:33:27Z","updated_at":"2016-06-28T19:33:27Z","closed_at":null,"body":"### Terraform Version\r\n`Terraform v0.7.0-dev (ebb9b7a6967db2f19b67843e0cd4002940528196)`\r\n\r\n### Affected Resource(s)\r\n- aws_cloudformation_stack\r\n\r\n### Terraform Configuration Files\r\n```hcl\r\nresource \"aws_cloudformation_stack\" \"test\" {\r\n  name               = \"test-stack\"\r\n  template_body      = \"This is not valid JSON\"\r\n}\r\n```\r\n\r\n### Expected Behavior\r\n`terraform plan` should exit with status != 0 and print an error\r\n\r\n### Actual Behavior\r\n`terraform plan` exits with status 0:\r\n```\r\n-> % AWS_REGION=us-east-1 terraform plan            \r\nRefreshing Terraform state in-memory prior to plan...\r\nThe refreshed state will be used to calculate this plan, but\r\nwill not be persisted to local or remote state storage.\r\n\r\n\r\nThe Terraform execution plan has been generated and is shown below.\r\nResources are shown in alphabetical order for quick scanning. Green resources\r\nwill be created (or destroyed and then created if an existing resource\r\nexists), yellow resources are being changed in-place, and red resources\r\nwill be destroyed. Cyan entries are data sources to be read.\r\n\r\nNote: You didn't specify an \"-out\" parameter to save this plan, so when\r\n\"apply\" is called, Terraform can't guarantee this is what will execute.\r\n\r\n+ aws_cloudformation_stack.test\r\n    name:          \"test-stack\"\r\n    outputs.%:     \"<computed>\"\r\n    parameters.%:  \"<computed>\"\r\n    policy_body:   \"<computed>\"\r\n    template_body: \"Error parsing JSON: invalid character 'T' looking for beginning of value\"\r\n\r\n\r\nPlan: 1 to add, 0 to change, 0 to destroy.\r\n```\r\n\r\n### Steps to Reproduce\r\nPlease list the steps required to reproduce the issue, for example:\r\n1. `AWS_REGION=us-east-1 terraform plan`\r\n"}}
{"actor":{"display_login":"Bowbaq"}}