{"action":"created","issue":{"url":"https://api.github.com/repos/danilop/LambdAuth/issues/46","repository_url":"https://api.github.com/repos/danilop/LambdAuth","labels_url":"https://api.github.com/repos/danilop/LambdAuth/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/danilop/LambdAuth/issues/46/comments","events_url":"https://api.github.com/repos/danilop/LambdAuth/issues/46/events","html_url":"https://github.com/danilop/LambdAuth/issues/46","id":162858404,"number":46,"title":"./init.sh says \"setting session CLI profile to null\" then raises error ProfileNotFound(profile=profile_name)","user":{"login":"syedrakib","id":975768,"avatar_url":"https://avatars.githubusercontent.com/u/975768?v=3","gravatar_id":"","url":"https://api.github.com/users/syedrakib","html_url":"https://github.com/syedrakib","followers_url":"https://api.github.com/users/syedrakib/followers","following_url":"https://api.github.com/users/syedrakib/following{/other_user}","gists_url":"https://api.github.com/users/syedrakib/gists{/gist_id}","starred_url":"https://api.github.com/users/syedrakib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syedrakib/subscriptions","organizations_url":"https://api.github.com/users/syedrakib/orgs","repos_url":"https://api.github.com/users/syedrakib/repos","events_url":"https://api.github.com/users/syedrakib/events{/privacy}","received_events_url":"https://api.github.com/users/syedrakib/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-29T07:27:09Z","updated_at":"2016-06-29T08:11:51Z","closed_at":null,"body":"```\r\n$ ./init.sh \r\nsetting session CLI profile to null\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/aws\", line 27, in <module>\r\n    sys.exit(main())\r\n  File \"/usr/local/bin/aws\", line 23, in main\r\n    return awscli.clidriver.main()\r\n  File \"/usr/local/aws/local/lib/python2.7/site-packages/awscli/clidriver.py\", line 50, in main\r\n    return driver.main()\r\n  File \"/usr/local/aws/local/lib/python2.7/site-packages/awscli/clidriver.py\", line 176, in main\r\n    parser = self._create_parser()\r\n  File \"/usr/local/aws/local/lib/python2.7/site-packages/awscli/clidriver.py\", line 157, in _create_parser\r\n    command_table = self._get_command_table()\r\n  File \"/usr/local/aws/local/lib/python2.7/site-packages/awscli/clidriver.py\", line 91, in _get_command_table\r\n    self._command_table = self._build_command_table()\r\n  File \"/usr/local/aws/local/lib/python2.7/site-packages/awscli/clidriver.py\", line 111, in _build_command_table\r\n    command_object=self)\r\n  File \"/usr/local/aws/local/lib/python2.7/site-packages/botocore/session.py\", line 684, in emit\r\n    return self._events.emit(event_name, **kwargs)\r\n  File \"/usr/local/aws/local/lib/python2.7/site-packages/botocore/hooks.py\", line 227, in emit\r\n    return self._emit(event_name, kwargs)\r\n  File \"/usr/local/aws/local/lib/python2.7/site-packages/botocore/hooks.py\", line 210, in _emit\r\n    response = handler(**kwargs)\r\n  File \"/usr/local/aws/local/lib/python2.7/site-packages/awscli/customizations/preview.py\", line 71, in mark_as_preview\r\n    service_name=original_command.service_model.service_name,\r\n  File \"/usr/local/aws/local/lib/python2.7/site-packages/awscli/clidriver.py\", line 349, in service_model\r\n    return self._get_service_model()\r\n  File \"/usr/local/aws/local/lib/python2.7/site-packages/awscli/clidriver.py\", line 366, in _get_service_model\r\n    api_version = self.session.get_config_variable('api_versions').get(\r\n  File \"/usr/local/aws/local/lib/python2.7/site-packages/botocore/session.py\", line 259, in get_config_variable\r\n    elif self._found_in_config_file(methods, var_config):\r\n  File \"/usr/local/aws/local/lib/python2.7/site-packages/botocore/session.py\", line 280, in _found_in_config_file\r\n    return var_config[0] in self.get_scoped_config()\r\n  File \"/usr/local/aws/local/lib/python2.7/site-packages/botocore/session.py\", line 352, in get_scoped_config\r\n    raise ProfileNotFound(profile=profile_name)\r\nbotocore.exceptions.ProfileNotFound: The config profile (null) could not be found\r\n\r\n```\r\n\r\nand this error is shown a million times in the bash whenever `./init.sh` is invoked."},"comment":{"url":"https://api.github.com/repos/danilop/LambdAuth/issues/comments/229286942","html_url":"https://github.com/danilop/LambdAuth/issues/46#issuecomment-229286942","issue_url":"https://api.github.com/repos/danilop/LambdAuth/issues/46","id":229286942,"user":{"login":"syedrakib","id":975768,"avatar_url":"https://avatars.githubusercontent.com/u/975768?v=3","gravatar_id":"","url":"https://api.github.com/users/syedrakib","html_url":"https://github.com/syedrakib","followers_url":"https://api.github.com/users/syedrakib/followers","following_url":"https://api.github.com/users/syedrakib/following{/other_user}","gists_url":"https://api.github.com/users/syedrakib/gists{/gist_id}","starred_url":"https://api.github.com/users/syedrakib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syedrakib/subscriptions","organizations_url":"https://api.github.com/users/syedrakib/orgs","repos_url":"https://api.github.com/users/syedrakib/repos","events_url":"https://api.github.com/users/syedrakib/events{/privacy}","received_events_url":"https://api.github.com/users/syedrakib/received_events","type":"User","site_admin":false},"created_at":"2016-06-29T08:11:51Z","updated_at":"2016-06-29T08:11:51Z","body":"BTW, i am invoking via an IAM role. My IAM role has administrator access. I do not have access to the root account though."}}
{"actor":{"display_login":"syedrakib"}}