{"action":"opened","issue":{"url":"https://api.github.com/repos/serverless/serverless/issues/1744","repository_url":"https://api.github.com/repos/serverless/serverless","labels_url":"https://api.github.com/repos/serverless/serverless/issues/1744/labels{/name}","comments_url":"https://api.github.com/repos/serverless/serverless/issues/1744/comments","events_url":"https://api.github.com/repos/serverless/serverless/issues/1744/events","html_url":"https://github.com/serverless/serverless/issues/1744","id":169205791,"number":1744,"title":"Boolean variable inconsistency","user":{"login":"segf4ult","id":20822756,"avatar_url":"https://avatars.githubusercontent.com/u/20822756?v=3","gravatar_id":"","url":"https://api.github.com/users/segf4ult","html_url":"https://github.com/segf4ult","followers_url":"https://api.github.com/users/segf4ult/followers","following_url":"https://api.github.com/users/segf4ult/following{/other_user}","gists_url":"https://api.github.com/users/segf4ult/gists{/gist_id}","starred_url":"https://api.github.com/users/segf4ult/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segf4ult/subscriptions","organizations_url":"https://api.github.com/users/segf4ult/orgs","repos_url":"https://api.github.com/users/segf4ult/repos","events_url":"https://api.github.com/users/segf4ult/events{/privacy}","received_events_url":"https://api.github.com/users/segf4ult/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-03T18:52:50Z","updated_at":"2016-08-03T18:52:50Z","closed_at":null,"body":"Variable with boolean value true works (no warning or exception) with template parameters, value of false causes:\r\n\"WARNING: This variable is not defined\"\r\n\"InvalidParameterType: Expected params.apiKeyRequired to be a boolean\"\r\n\r\ns-variables-stage.json\r\n{\r\n  \"stage\": \"stage-name\",\r\n  \"apiKeyRequired\": true\r\n}\r\n\r\ns-function.json (snippet)\r\n\"endpoints\": [{\r\n        ...,\r\n        \"apiKeyRequired\": \"${apiKeyRequired}\",\r\n        ...\r\n}"}}
{"actor":{"display_login":"segf4ult"}}