{"action":"closed","issue":{"url":"https://api.github.com/repos/quintilesims/layer0/issues/361","repository_url":"https://api.github.com/repos/quintilesims/layer0","labels_url":"https://api.github.com/repos/quintilesims/layer0/issues/361/labels{/name}","comments_url":"https://api.github.com/repos/quintilesims/layer0/issues/361/comments","events_url":"https://api.github.com/repos/quintilesims/layer0/issues/361/events","html_url":"https://github.com/quintilesims/layer0/issues/361","id":260633325,"number":361,"title":"Unclear error message when missing aws-access-key","user":{"login":"nehayward","id":6733030,"avatar_url":"https://avatars1.githubusercontent.com/u/6733030?v=4","gravatar_id":"","url":"https://api.github.com/users/nehayward","html_url":"https://github.com/nehayward","followers_url":"https://api.github.com/users/nehayward/followers","following_url":"https://api.github.com/users/nehayward/following{/other_user}","gists_url":"https://api.github.com/users/nehayward/gists{/gist_id}","starred_url":"https://api.github.com/users/nehayward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nehayward/subscriptions","organizations_url":"https://api.github.com/users/nehayward/orgs","repos_url":"https://api.github.com/users/nehayward/repos","events_url":"https://api.github.com/users/nehayward/events{/privacy}","received_events_url":"https://api.github.com/users/nehayward/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/quintilesims/layer0/milestones/16","html_url":"https://github.com/quintilesims/layer0/milestone/16","labels_url":"https://api.github.com/repos/quintilesims/layer0/milestones/16/labels","id":2897998,"number":16,"title":"v0.11.1","description":"Productize refactored L0, stress testing, bench marking, documentation, etc.","creator":{"login":"tribaljack","id":24942917,"avatar_url":"https://avatars0.githubusercontent.com/u/24942917?v=4","gravatar_id":"","url":"https://api.github.com/users/tribaljack","html_url":"https://github.com/tribaljack","followers_url":"https://api.github.com/users/tribaljack/followers","following_url":"https://api.github.com/users/tribaljack/following{/other_user}","gists_url":"https://api.github.com/users/tribaljack/gists{/gist_id}","starred_url":"https://api.github.com/users/tribaljack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tribaljack/subscriptions","organizations_url":"https://api.github.com/users/tribaljack/orgs","repos_url":"https://api.github.com/users/tribaljack/repos","events_url":"https://api.github.com/users/tribaljack/events{/privacy}","received_events_url":"https://api.github.com/users/tribaljack/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":5,"state":"open","created_at":"2017-11-08T18:47:29Z","updated_at":"2018-03-22T17:11:45Z","due_on":"2018-04-30T07:00:00Z","closed_at":null},"comments":2,"created_at":"2017-09-26T13:56:55Z","updated_at":"2018-03-22T17:11:45Z","closed_at":"2018-03-22T17:11:44Z","author_association":"CONTRIBUTOR","body":"### Expected behavior\r\nAfter following [layer0 install](http://layer0.ims.io/setup/install/) and creating an Access AWS Key and entering it into the l0-setup, you still can't access aws without having aws-cli installed. This is because you are missing the aws-access key environment variables. Although it can be set with `l0-setup init --aws-access-key=...` it's not clear in the initial setup. \r\n\r\n### Actual behavior\r\nAfter finishing the setup you get this message. I believe there should be at least a warning or error message and message to install aws-cli. This should also be added to the initial prerequisites [here](https://github.com/quintilesims/layer0/blob/develop/docs-src/docs/setup/install.md) too for the install docs. \r\n\r\n`No valid AWS credentials found. Please specify an AWS access key and secret key using their corresponding flags or environment variables`\r\n<img width=\"1005\" alt=\"error\" src=\"https://user-images.githubusercontent.com/6733030/30864112-5f2c6bd0-a298-11e7-9d6f-d4fe00f2e140.png\">\r\n\r\nThe error message occurs [here](https://github.com/quintilesims/layer0/blob/c815bb05a3a0945b9b853c8df66acc9b9c99feda/setup/command/aws.go#L47-L56) \r\n\r\n### Steps to reproduce the behavior\r\nDelete aws-cli and run l0-setup init (instance-name)\r\n\r\n- Layer0 Setup version v0.10.3"}}
{"actor":{"display_login":"diemonster"}}