{"action":"created","issue":{"url":"https://api.github.com/repos/mitchellh/vagrant-aws/issues/372","labels_url":"https://api.github.com/repos/mitchellh/vagrant-aws/issues/372/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/vagrant-aws/issues/372/comments","events_url":"https://api.github.com/repos/mitchellh/vagrant-aws/issues/372/events","html_url":"https://github.com/mitchellh/vagrant-aws/issues/372","id":60582329,"number":372,"title":"AuthFailure => AWS was not able to validate the provided access credentials","user":{"login":"michal-jora","id":9811071,"avatar_url":"https://avatars.githubusercontent.com/u/9811071?v=3","gravatar_id":"","url":"https://api.github.com/users/michal-jora","html_url":"https://github.com/michal-jora","followers_url":"https://api.github.com/users/michal-jora/followers","following_url":"https://api.github.com/users/michal-jora/following{/other_user}","gists_url":"https://api.github.com/users/michal-jora/gists{/gist_id}","starred_url":"https://api.github.com/users/michal-jora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michal-jora/subscriptions","organizations_url":"https://api.github.com/users/michal-jora/orgs","repos_url":"https://api.github.com/users/michal-jora/repos","events_url":"https://api.github.com/users/michal-jora/events{/privacy}","received_events_url":"https://api.github.com/users/michal-jora/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-03-10T22:46:33Z","updated_at":"2015-11-21T09:33:11Z","closed_at":null,"body":"Env: MacOsX 10.10.2\r\nRuby: 2.1.5\r\nVagrant: 1.7.2\r\nvagrant-aws: 0.6.0\r\n\r\n\r\nvagrant up --provider=aws\r\n```\r\nAn unexpected error occurred when executing the action on the\r\n<my machine> machine. Please report this as a bug:\r\n\r\nAuthFailure => AWS was not able to validate the provided access credentials\r\n\r\n/Users/myuser/.vagrant.d/gems/gems/excon-0.44.4/lib/excon/middlewares/expects.rb:6:in `response_call'\r\n/Users/myuser/.vagrant.d/gems/gems/excon-0.44.4/lib/excon/middlewares/response_parser.rb:8:in `response_call'\r\n/Users/myuser/.vagrant.d/gems/gems/excon-0.44.4/lib/excon/connection.rb:372:in `response'\r\n/Users/myuser/.vagrant.d/gems/gems/excon-0.44.4/lib/excon/connection.rb:236:in `request'\r\n/Users/myuser/.vagrant.d/gems/gems/excon-0.44.4/lib/excon/middlewares/idempotent.rb:26:in `error_call'\r\n/Users/myuser/.vagrant.d/gems/gems/excon-0.44.4/lib/excon/middlewares/base.rb:10:in `error_call'\r\n/Users/myuser/.vagrant.d/gems/gems/excon-0.44.4/lib/excon/middlewares/base.rb:10:in `error_call'\r\n/Users/myuser/.vagrant.d/gems/gems/excon-0.44.4/lib/excon/connection.rb:256:in `rescue in request'\r\n/Users/myuser/.vagrant.d/gems/gems/excon-0.44.4/lib/excon/connection.rb:204:in `request'\r\n/Users/myuser/.vagrant.d/gems/gems/excon-0.44.4/lib/excon/middlewares/idempotent.rb:26:in `error_call'\r\n/Users/myuser/.vagrant.d/gems/gems/excon-0.44.4/lib/excon/middlewares/base.rb:10:in `error_call'\r\n/Users/myuser/.vagrant.d/gems/gems/excon-0.44.4/lib/excon/middlewares/base.rb:10:in `error_call'\r\n/Users/myuser/.vagrant.d/gems/gems/excon-0.44.4/lib/excon/connection.rb:256:in `rescue in request'\r\n/Users/myuser/.vagrant.d/gems/gems/excon-0.44.4/lib/excon/connection.rb:204:in `request'\r\n/Users/myuser/.vagrant.d/gems/gems/excon-0.44.4/lib/excon/middlewares/idempotent.rb:26:in `error_call'\r\n/Users/myuser/.vagrant.d/gems/gems/excon-0.44.4/lib/excon/middlewares/base.rb:10:in `error_call'\r\n/Users/myuser/.vagrant.d/gems/gems/excon-0.44.4/lib/excon/middlewares/base.rb:10:in `error_call'\r\n/Users/myuser/.vagrant.d/gems/gems/excon-0.44.4/lib/excon/connection.rb:256:in `rescue in request'\r\n/Users/myuser/.vagrant.d/gems/gems/excon-0.44.4/lib/excon/connection.rb:204:in `request'\r\n/Users/myuser/.vagrant.d/gems/gems/fog-xml-0.1.1/lib/fog/xml/sax_parser_connection.rb:37:in `request'\r\n/Users/myuser/.vagrant.d/gems/gems/fog-xml-0.1.1/lib/fog/xml/connection.rb:7:in `request'\r\n/Users/myuser/.vagrant.d/gems/gems/fog-aws-0.1.1/lib/fog/aws/compute.rb:528:in `_request'\r\n/Users/myuser/.vagrant.d/gems/gems/fog-aws-0.1.1/lib/fog/aws/compute.rb:523:in `request'\r\n/Users/myuser/.vagrant.d/gems/gems/fog-aws-0.1.1/lib/fog/aws/requests/compute/describe_security_groups.rb:38:in `describe_security_groups'\r\n/Users/myuser/.vagrant.d/gems/gems/fog-aws-0.1.1/lib/fog/aws/models/compute/security_groups.rb:64:in `all'\r\n/Users/myuser/.vagrant.d/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/action/run_instance.rb:192:in `block in allows_ssh_port?'\r\n/Users/myuser/.vagrant.d/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/action/run_instance.rb:191:in `map'\r\n/Users/myuser/.vagrant.d/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/action/run_instance.rb:191:in `allows_ssh_port?'\r\n/Users/myuser/.vagrant.d/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/action/run_instance.rb:98:in `call'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in `call'\r\n/Users/myuser/.vagrant.d/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/action/elb_register_instance.rb:16:in `call'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in `call'\r\n/Users/myuser/.vagrant.d/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/action/warn_networks.rb:14:in `call'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in `call'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builtin/synced_folders.rb:84:in `call'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in `call'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builtin/provision.rb:80:in `call'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in `call'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:95:in `block in finalize_action'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in `call'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in `call'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builder.rb:116:in `call'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:in `block in run'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/busy.rb:19:in `busy'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:in `run'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builtin/call.rb:53:in `call'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in `call'\r\n/Users/myuser/.vagrant.d/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/action/connect_aws.rb:43:in `call'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in `call'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builtin/config_validate.rb:25:in `call'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in `call'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builtin/handle_box.rb:56:in `call'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in `call'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builder.rb:116:in `call'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:in `block in run'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/busy.rb:19:in `busy'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:in `run'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:214:in `action_raw'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:191:in `block in action'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:516:in `lock'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:178:in `call'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:178:in `action'\r\n/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/batch_action.rb:82:in `block (2 levels) in run'\r\n```"},"comment":{"url":"https://api.github.com/repos/mitchellh/vagrant-aws/issues/comments/158616884","html_url":"https://github.com/mitchellh/vagrant-aws/issues/372#issuecomment-158616884","issue_url":"https://api.github.com/repos/mitchellh/vagrant-aws/issues/372","id":158616884,"user":{"login":"amr-atef-afifi","id":3439525,"avatar_url":"https://avatars.githubusercontent.com/u/3439525?v=3","gravatar_id":"","url":"https://api.github.com/users/amr-atef-afifi","html_url":"https://github.com/amr-atef-afifi","followers_url":"https://api.github.com/users/amr-atef-afifi/followers","following_url":"https://api.github.com/users/amr-atef-afifi/following{/other_user}","gists_url":"https://api.github.com/users/amr-atef-afifi/gists{/gist_id}","starred_url":"https://api.github.com/users/amr-atef-afifi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amr-atef-afifi/subscriptions","organizations_url":"https://api.github.com/users/amr-atef-afifi/orgs","repos_url":"https://api.github.com/users/amr-atef-afifi/repos","events_url":"https://api.github.com/users/amr-atef-afifi/events{/privacy}","received_events_url":"https://api.github.com/users/amr-atef-afifi/received_events","type":"User","site_admin":false},"created_at":"2015-11-21T09:33:11Z","updated_at":"2015-11-21T09:33:11Z","body":"If your AWS credentials are saved in ~/.boto file, use the following convention for saving the credentials it's more safe since boto checks for credentials in that path first\r\n~/.aws/credentials\r\n\r\nAnd write your profile as following\r\n[default]\r\n...\r\n[test]\r\n..."}}