flexera-public / right_aws

RightScale Amazon Web Services Ruby Gems
MIT License
451 stars 175 forks source link

This is SUDO code (never executed) but serves as a suggested change. AWS... #102

Closed jaredatron closed 12 years ago

jaredatron commented 12 years ago

... has more granular permissions these days and accounts that do not have permission to "list buckets" cannot use said bucket method because it instantiated and loops through all buckets and fails with an authentication error.

kagminjeong commented 12 years ago

The other thing I just noticed is when the bucket does not exist, previously nil would have been returned and now you would return a Bucket instance regardless (which presumably would be not functional?).

jaredatron commented 12 years ago

I did ask for it. Maybe Bucket should have a create method?

On Wed, Nov 30, 2011 at 6:00 PM, Rich Meyers < reply@reply.github.com

wrote:

The other thing I just noticed is when the bucket does not exist, previously nil would have been returned and now you would return a Bucket instance regardless (which presumably would be not functional?).


Reply to this email directly or view it on GitHub: https://github.com/rightscale/right_aws/pull/102#issuecomment-2969823

Jared

konstantin-dzreev commented 12 years ago

Hi

Could you try out our development branch plz?

it has a workaround for the issue: https://github.com/rightscale/right_aws/commit/bdcd8e343ebc343d5f6532cf3225f606200259a3

Does it work as expected?

Thanks