{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/2872","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/2872/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/2872/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/2872/events","html_url":"https://github.com/hashicorp/terraform/issues/2872","id":97787399,"number":2872,"title":"Cannot use vars for chef provisioner bool arguments","user":{"login":"thegedge","id":833576,"avatar_url":"https://avatars.githubusercontent.com/u/833576?v=3","gravatar_id":"","url":"https://api.github.com/users/thegedge","html_url":"https://github.com/thegedge","followers_url":"https://api.github.com/users/thegedge/followers","following_url":"https://api.github.com/users/thegedge/following{/other_user}","gists_url":"https://api.github.com/users/thegedge/gists{/gist_id}","starred_url":"https://api.github.com/users/thegedge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thegedge/subscriptions","organizations_url":"https://api.github.com/users/thegedge/orgs","repos_url":"https://api.github.com/users/thegedge/repos","events_url":"https://api.github.com/users/thegedge/events{/privacy}","received_events_url":"https://api.github.com/users/thegedge/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-28T19:49:28Z","updated_at":"2015-08-05T09:07:09Z","closed_at":null,"body":"```sh\r\nvariable \"skip_chef_install\" {\r\n  default = true\r\n}\r\n\r\nresource \"aws_instance\" \"foo\" {\r\n  ...\r\n  provisioner \"chef\" {\r\n    ...\r\n    skip_install = \"${var.skip_chef_install}\"\r\n    ...\r\n  }\r\n  ...\r\n}\r\n```\r\n\r\n```console\r\n$ terraform plan --module-depth=-1\r\nThere are warnings and/or errors related to your configuration. Please\r\nfix these before continuing.\r\n\r\nErrors:\r\n\r\n  * aws_instance.foo: 1 error(s) decoding:\r\n\r\n* cannot parse 'skip_install' as bool: strconv.ParseBool: parsing \"${var.skip_chef_install}\": invalid syntax\r\n```"},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/127925561","html_url":"https://github.com/hashicorp/terraform/issues/2872#issuecomment-127925561","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/2872","id":127925561,"user":{"login":"svanharmelen","id":4171547,"avatar_url":"https://avatars.githubusercontent.com/u/4171547?v=3","gravatar_id":"","url":"https://api.github.com/users/svanharmelen","html_url":"https://github.com/svanharmelen","followers_url":"https://api.github.com/users/svanharmelen/followers","following_url":"https://api.github.com/users/svanharmelen/following{/other_user}","gists_url":"https://api.github.com/users/svanharmelen/gists{/gist_id}","starred_url":"https://api.github.com/users/svanharmelen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svanharmelen/subscriptions","organizations_url":"https://api.github.com/users/svanharmelen/orgs","repos_url":"https://api.github.com/users/svanharmelen/repos","events_url":"https://api.github.com/users/svanharmelen/events{/privacy}","received_events_url":"https://api.github.com/users/svanharmelen/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T09:07:09Z","updated_at":"2015-08-05T09:07:09Z","body":"@thegedge thanks for reporting this one! This is an interesting one, so I'll have a closer look when I have a little more time on my hands...\r\n\r\nWill get back to you when I have a solution or course!"}}