{"action":"created","issue":{"url":"https://api.github.com/repos/poanetwork/poa-explorer-infra/issues/22","repository_url":"https://api.github.com/repos/poanetwork/poa-explorer-infra","labels_url":"https://api.github.com/repos/poanetwork/poa-explorer-infra/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/poanetwork/poa-explorer-infra/issues/22/comments","events_url":"https://api.github.com/repos/poanetwork/poa-explorer-infra/issues/22/events","html_url":"https://github.com/poanetwork/poa-explorer-infra/issues/22","id":328161653,"node_id":"MDU6SXNzdWUzMjgxNjE2NTM=","number":22,"title":"bin/infra -v provision hangs, if no .tfvars provided in repo","user":{"login":"Ykisialiou","id":7325903,"node_id":"MDQ6VXNlcjczMjU5MDM=","avatar_url":"https://avatars2.githubusercontent.com/u/7325903?v=4","gravatar_id":"","url":"https://api.github.com/users/Ykisialiou","html_url":"https://github.com/Ykisialiou","followers_url":"https://api.github.com/users/Ykisialiou/followers","following_url":"https://api.github.com/users/Ykisialiou/following{/other_user}","gists_url":"https://api.github.com/users/Ykisialiou/gists{/gist_id}","starred_url":"https://api.github.com/users/Ykisialiou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ykisialiou/subscriptions","organizations_url":"https://api.github.com/users/Ykisialiou/orgs","repos_url":"https://api.github.com/users/Ykisialiou/repos","events_url":"https://api.github.com/users/Ykisialiou/events{/privacy}","received_events_url":"https://api.github.com/users/Ykisialiou/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-31T14:27:14Z","updated_at":"2018-06-01T15:02:07Z","closed_at":"2018-06-01T15:02:07Z","author_association":"CONTRIBUTOR","body":"If I clone clear repo, and no .tfvars file provided, the script hangs after prefix generation process.\r\n\r\nI expected it to ask for necessary variables. \r\n\r\nI investigated a little and looks like this will hangs forewer, if $EXTRA_VARS empty. \r\nhttps://github.com/poanetwork/poa-explorer-infra/blob/master/bin/infra#L165 \r\nbecause we will have `cat` without arguments in this case. \r\n\r\nI'n not sure about proper fix, but probably $EXTRA_VARS  should be checked, and some another flow provided, if it's empty. "},"comment":{"url":"https://api.github.com/repos/poanetwork/poa-explorer-infra/issues/comments/393908129","html_url":"https://github.com/poanetwork/poa-explorer-infra/issues/22#issuecomment-393908129","issue_url":"https://api.github.com/repos/poanetwork/poa-explorer-infra/issues/22","id":393908129,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzkwODEyOQ==","user":{"login":"bitwalker","id":955793,"node_id":"MDQ6VXNlcjk1NTc5Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/955793?v=4","gravatar_id":"","url":"https://api.github.com/users/bitwalker","html_url":"https://github.com/bitwalker","followers_url":"https://api.github.com/users/bitwalker/followers","following_url":"https://api.github.com/users/bitwalker/following{/other_user}","gists_url":"https://api.github.com/users/bitwalker/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwalker/subscriptions","organizations_url":"https://api.github.com/users/bitwalker/orgs","repos_url":"https://api.github.com/users/bitwalker/repos","events_url":"https://api.github.com/users/bitwalker/events{/privacy}","received_events_url":"https://api.github.com/users/bitwalker/received_events","type":"User","site_admin":false},"created_at":"2018-06-01T15:02:07Z","updated_at":"2018-06-01T15:02:07Z","author_association":"COLLABORATOR","body":"This should be fixed in master now"}}
{"actor":{"display_login":"bitwalker"}}