{"action":"created","issue":{"url":"https://api.github.com/repos/pulumi/pulumi-terraform/issues/414","repository_url":"https://api.github.com/repos/pulumi/pulumi-terraform","labels_url":"https://api.github.com/repos/pulumi/pulumi-terraform/issues/414/labels{/name}","comments_url":"https://api.github.com/repos/pulumi/pulumi-terraform/issues/414/comments","events_url":"https://api.github.com/repos/pulumi/pulumi-terraform/issues/414/events","html_url":"https://github.com/pulumi/pulumi-terraform/pull/414","id":469140338,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjk4NDI3MDg0","number":414,"title":"Expanded error message about a missing field value with a config default","user":{"login":"mikhailshilkov","id":1454008,"node_id":"MDQ6VXNlcjE0NTQwMDg=","avatar_url":"https://avatars1.githubusercontent.com/u/1454008?v=4","gravatar_id":"","url":"https://api.github.com/users/mikhailshilkov","html_url":"https://github.com/mikhailshilkov","followers_url":"https://api.github.com/users/mikhailshilkov/followers","following_url":"https://api.github.com/users/mikhailshilkov/following{/other_user}","gists_url":"https://api.github.com/users/mikhailshilkov/gists{/gist_id}","starred_url":"https://api.github.com/users/mikhailshilkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikhailshilkov/subscriptions","organizations_url":"https://api.github.com/users/mikhailshilkov/orgs","repos_url":"https://api.github.com/users/mikhailshilkov/repos","events_url":"https://api.github.com/users/mikhailshilkov/events{/privacy}","received_events_url":"https://api.github.com/users/mikhailshilkov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-07-17T11:32:51Z","updated_at":"2019-07-17T12:17:31Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/pulumi/pulumi-terraform/pulls/414","html_url":"https://github.com/pulumi/pulumi-terraform/pull/414","diff_url":"https://github.com/pulumi/pulumi-terraform/pull/414.diff","patch_url":"https://github.com/pulumi/pulumi-terraform/pull/414.patch"},"body":"Fixes #400 \r\n\r\nI'm not very happy about the fact that I had to parse the error message coming from TF and put the logic of checking the config default very far from where it already resides (`MakeTerraformInputs`). However, I don't see another place where we can reliably inject into the pipeline and have no false-positives."},"comment":{"url":"https://api.github.com/repos/pulumi/pulumi-terraform/issues/comments/512229435","html_url":"https://github.com/pulumi/pulumi-terraform/pull/414#issuecomment-512229435","issue_url":"https://api.github.com/repos/pulumi/pulumi-terraform/issues/414","id":512229435,"node_id":"MDEyOklzc3VlQ29tbWVudDUxMjIyOTQzNQ==","user":{"login":"mikhailshilkov","id":1454008,"node_id":"MDQ6VXNlcjE0NTQwMDg=","avatar_url":"https://avatars1.githubusercontent.com/u/1454008?v=4","gravatar_id":"","url":"https://api.github.com/users/mikhailshilkov","html_url":"https://github.com/mikhailshilkov","followers_url":"https://api.github.com/users/mikhailshilkov/followers","following_url":"https://api.github.com/users/mikhailshilkov/following{/other_user}","gists_url":"https://api.github.com/users/mikhailshilkov/gists{/gist_id}","starred_url":"https://api.github.com/users/mikhailshilkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikhailshilkov/subscriptions","organizations_url":"https://api.github.com/users/mikhailshilkov/orgs","repos_url":"https://api.github.com/users/mikhailshilkov/repos","events_url":"https://api.github.com/users/mikhailshilkov/events{/privacy}","received_events_url":"https://api.github.com/users/mikhailshilkov/received_events","type":"User","site_admin":false},"created_at":"2019-07-17T12:17:31Z","updated_at":"2019-07-17T12:17:31Z","author_association":"NONE","body":"I'm not sure why the downstream generation fails with `Property 'utils' does not exist on type 'typeof import(\"/home/travis/gopath/src/github.com/pulumi/pulumi-azure/sdk/nodejs/node_modules/@pulumi/pulumi/index\")'.`...\r\n\r\nHopefully, not my fault. I did test with Azure, here is a sample improved error message:\r\n\r\n```\r\nerror: azure:core/resourceGroup:ResourceGroup resource 'resourceGroup' has a problem: \"location\": \r\nrequired field is not set. Either set it explicitly or configure it with \r\n'pulumi config set azure:location <value>'.\r\n```"}}
{"actor":{"display_login":"mikhailshilkov"}}