{"action":"created","issue":{"url":"https://api.github.com/repos/serverless/serverless-graphql/issues/40","repository_url":"https://api.github.com/repos/serverless/serverless-graphql","labels_url":"https://api.github.com/repos/serverless/serverless-graphql/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/serverless/serverless-graphql/issues/40/comments","events_url":"https://api.github.com/repos/serverless/serverless-graphql/issues/40/events","html_url":"https://github.com/serverless/serverless-graphql/issues/40","id":154723168,"number":40,"title":"Clarify AWS credentials requirements for local DB","user":{"login":"jesucarr","id":28097,"avatar_url":"https://avatars.githubusercontent.com/u/28097?v=3","gravatar_id":"","url":"https://api.github.com/users/jesucarr","html_url":"https://github.com/jesucarr","followers_url":"https://api.github.com/users/jesucarr/followers","following_url":"https://api.github.com/users/jesucarr/following{/other_user}","gists_url":"https://api.github.com/users/jesucarr/gists{/gist_id}","starred_url":"https://api.github.com/users/jesucarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesucarr/subscriptions","organizations_url":"https://api.github.com/users/jesucarr/orgs","repos_url":"https://api.github.com/users/jesucarr/repos","events_url":"https://api.github.com/users/jesucarr/events{/privacy}","received_events_url":"https://api.github.com/users/jesucarr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-05-13T14:21:53Z","updated_at":"2016-05-17T13:36:09Z","closed_at":null,"body":"It seems that the `setupdb` plugin needs the `[default]` profile in `~/.aws/credentials` to have the same `aws_access_key_id` and `aws_secret_access_key` as the profile in `admin.dev`.\r\n\r\nI tried setting `AWS_DEFAULT_PROFILE` to the profile in `admin.dev`, but didn't work.\r\n\r\nIs this a bug?\r\n\r\nHere the error I get:\r\n\r\n```\r\nmutation createUserTest { createUser ....\r\n\r\n\"errors\": [\r\n    {\r\n      \"message\": \"Missing credentials in config\",\r\n      \"originalError\": {\r\n        \"cause\": {\r\n          \"message\": \"Missing credentials in config\",\r\n          \"code\": \"CredentialsError\",\r\n          \"time\": \"2016-05-04T14:37:16.127Z\",\r\n          \"originalError\": {\r\n            \"message\": \"Could not load credentials from any providers\",\r\n            \"code\": \"CredentialsError\",\r\n            \"time\": \"2016-05-04T14:37:16.127Z\",\r\n            \"originalError\": {\r\n              \"message\": \"Connection timed out after 1000ms\",\r\n              \"code\": \"TimeoutError\",\r\n              \"time\": \"2016-05-04T14:37:16.127Z\"\r\n            }\r\n          }\r\n        },\r\n        \"isOperational\": true,\r\n        \"code\": \"CredentialsError\",\r\n        \"time\": \"2016-05-04T14:37:16.127Z\",\r\n        \"originalError\": {\r\n          \"message\": \"Could not load credentials from any providers\",\r\n          \"code\": \"CredentialsError\",\r\n          \"time\": \"2016-05-04T14:37:16.127Z\",\r\n          \"originalError\": {\r\n            \"message\": \"Connection timed out after 1000ms\",\r\n            \"code\": \"TimeoutError\",\r\n            \"time\": \"2016-05-04T14:37:16.127Z\"\r\n          }\r\n        }\r\n      }\r\n    }\r\n  ]\r\n```"},"comment":{"url":"https://api.github.com/repos/serverless/serverless-graphql/issues/comments/219719224","html_url":"https://github.com/serverless/serverless-graphql/issues/40#issuecomment-219719224","issue_url":"https://api.github.com/repos/serverless/serverless-graphql/issues/40","id":219719224,"user":{"login":"ismarslomic","id":2174314,"avatar_url":"https://avatars.githubusercontent.com/u/2174314?v=3","gravatar_id":"","url":"https://api.github.com/users/ismarslomic","html_url":"https://github.com/ismarslomic","followers_url":"https://api.github.com/users/ismarslomic/followers","following_url":"https://api.github.com/users/ismarslomic/following{/other_user}","gists_url":"https://api.github.com/users/ismarslomic/gists{/gist_id}","starred_url":"https://api.github.com/users/ismarslomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismarslomic/subscriptions","organizations_url":"https://api.github.com/users/ismarslomic/orgs","repos_url":"https://api.github.com/users/ismarslomic/repos","events_url":"https://api.github.com/users/ismarslomic/events{/privacy}","received_events_url":"https://api.github.com/users/ismarslomic/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T13:36:09Z","updated_at":"2016-05-17T13:36:09Z","body":"@laardee do you have aws cli installed and have you done profile configuration as described here http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html before installing serverless and creating new project? I have currently not installed aws cli, so that might be the issue?"}}