{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-cli/issues/1379","repository_url":"https://api.github.com/repos/Azure/azure-cli","labels_url":"https://api.github.com/repos/Azure/azure-cli/issues/1379/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-cli/issues/1379/comments","events_url":"https://api.github.com/repos/Azure/azure-cli/issues/1379/events","html_url":"https://github.com/Azure/azure-cli/issues/1379","id":190399224,"number":1379,"title":"CLI inconsistency -- to specify a parameters file, one must not use equal sign","user":{"login":"jmspring","id":124302,"avatar_url":"https://avatars.githubusercontent.com/u/124302?v=3","gravatar_id":"","url":"https://api.github.com/users/jmspring","html_url":"https://github.com/jmspring","followers_url":"https://api.github.com/users/jmspring/followers","following_url":"https://api.github.com/users/jmspring/following{/other_user}","gists_url":"https://api.github.com/users/jmspring/gists{/gist_id}","starred_url":"https://api.github.com/users/jmspring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmspring/subscriptions","organizations_url":"https://api.github.com/users/jmspring/orgs","repos_url":"https://api.github.com/users/jmspring/repos","events_url":"https://api.github.com/users/jmspring/events{/privacy}","received_events_url":"https://api.github.com/users/jmspring/received_events","type":"User","site_admin":false},"labels":[{"id":321247994,"url":"https://api.github.com/repos/Azure/azure-cli/labels/bug","name":"bug","color":"fc2929","default":true},{"id":418937389,"url":"https://api.github.com/repos/Azure/azure-cli/labels/Resource%20Manager","name":"Resource Manager","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-18T19:17:12Z","updated_at":"2016-11-23T01:11:10Z","closed_at":null,"body":"If you use an equal sign between --parameters and the actual file path, you end up with the following:\r\n\r\n```\r\naz resource group deployment create --resource-group=jmsdcosrg --template-file=./output/azuredeploy.json --parameters=\"@./output/azuredeploy.parameters.json\"\r\nNo JSON object could be decoded\r\n```\r\n\r\nRemoving the equal sign works:\r\n\r\n```\r\naz resource group deployment create --resource-group=jmsdcosrg --template-file=./output/azuredeploy.json --parameters \"@./output/azuredeploy.parameters.json\"\r\n```"},"comment":{"url":"https://api.github.com/repos/Azure/azure-cli/issues/comments/262412795","html_url":"https://github.com/Azure/azure-cli/issues/1379#issuecomment-262412795","issue_url":"https://api.github.com/repos/Azure/azure-cli/issues/1379","id":262412795,"user":{"login":"jmspring","id":124302,"avatar_url":"https://avatars.githubusercontent.com/u/124302?v=3","gravatar_id":"","url":"https://api.github.com/users/jmspring","html_url":"https://github.com/jmspring","followers_url":"https://api.github.com/users/jmspring/followers","following_url":"https://api.github.com/users/jmspring/following{/other_user}","gists_url":"https://api.github.com/users/jmspring/gists{/gist_id}","starred_url":"https://api.github.com/users/jmspring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmspring/subscriptions","organizations_url":"https://api.github.com/users/jmspring/orgs","repos_url":"https://api.github.com/users/jmspring/repos","events_url":"https://api.github.com/users/jmspring/events{/privacy}","received_events_url":"https://api.github.com/users/jmspring/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T01:11:10Z","updated_at":"2016-11-23T01:11:10Z","body":"Thanks @brendandburns -- for me it is an issue of consistency.  It took me awhile to figure out what was going on... The az command line help mentions \"add an @ for files\" (or close to that).  Not sure why for `az resource group deployment create ....` there is --template and --template-file, but only --parameters.\r\n"}}
{"actor":{"display_login":"jmspring"}}