Skip to content
This repository has been archived by the owner on Jun 22, 2023. It is now read-only.

Region us-east-1a not found #72

Open
treeder opened this issue Jul 8, 2015 · 2 comments
Open

Region us-east-1a not found #72

treeder opened this issue Jul 8, 2015 · 2 comments

Comments

@treeder
Copy link

treeder commented Jul 8, 2015

/worker/bundle/ruby/2.1.0/gems/amazon-pricing-0.1.63/lib/amazon-pricing/aws-price-list.rb:53:in `get_instance_type': Region us-east-1a not found (RuntimeError)

Availability zone on return server is: availability_zone="us-east-1a"

@sodabrew
Copy link
Contributor

In the region named us-west-1, there are availability zones us-west-1a, us-west-1b, us-west-1c. You need to use the region and not the AZ to look up the pricing.

@treeder
Copy link
Author

treeder commented Jul 15, 2015

All the issues I opened come down to your code example not working: http://www.hightechinthehub.com/2012/03/programmatically-retrieving-aws-pricing/

After a bunch of digging around and trying to figure out how it works, I eventually got it working. It would be great to provide some examples that work.

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

2 participants