Skip to content
This repository has been archived by the owner on Nov 29, 2017. It is now read-only.

Need :default: section in .fog file for inception deploy to succeed #34

Open
mstine opened this issue Aug 7, 2013 · 0 comments
Open

Comments

@mstine
Copy link
Contributor

mstine commented Aug 7, 2013

I had to add a :default: section containing my AWS credentials in order for "inception deploy" to work. This is regardless of what credentials I select when prompted.

Before adding :default:, here's the error:

$ inception deploy [661/1374]
Auto-detected infrastructure API credentials at ~/.fog (override with $FOG)

  1. OpenStack (openstack)
  2. AWS (amazon)
  3. Alternate credentials
    Choose an auto-detected infrastructure: 2

Using provider AWS

  1. *US East (Northern Virginia) Region (us-east-1)
  2. US West (Oregon) Region (us-west-2)
  3. US West (Northern California) Region (us-west-1)
  4. EU (Ireland) Region (eu-west-1)5. Asia Pacific (Singapore) Region (ap-southeast-1)
  5. Asia Pacific (Sydney) Region (ap-southeast-2)
  6. Asia Pacific (Tokyo) Region (ap-northeast-1)
  7. South America (Sao Paulo) Region (sa-east-1)
    Choose AWS region: 1

Confirming: Using AWS/us-east-1

Preparing deployment settings

Using your git user.name (Matt Stine)
Acquiring a public IP address... 54.221.200.255

Provision inception server

Reusing security group ssh
Booting m1.small inception server... /Users/pivotal/.rvm/gems/ruby-1.9.3-p392@drnic-bosh-cf/gems/fog-1.14.0/lib/fog/core/errors.rb:109:in `missing_credentials': Missing Credentia
ls (Fog::Errors::LoadError)

To run as 'default', add the following to your resource config file: /Users/pivotal/.fog
An alternate file may be used by placing its path in the FOG_RC environment variable

Fog Credentials File

Key-value pairs should look like:

:aws_access_key_id: 022QF06E7MXBSAMPLE

:default:
:aws_access_key_id:
:aws_secret_access_key:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant