Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use_iam_profile and fog-aws #394

Open
xxx44yyy opened this issue Jan 6, 2020 · 2 comments
Open

use_iam_profile and fog-aws #394

xxx44yyy opened this issue Jan 6, 2020 · 2 comments

Comments

@xxx44yyy
Copy link

xxx44yyy commented Jan 6, 2020

if aws_iam?
options.merge!({
:use_iam_profile => true
})
else
options.merge!({
:aws_access_key_id => aws_access_key_id,
:aws_secret_access_key => aws_secret_access_key
})

needs:

if aws_iam?
    options.merge!({
        :use_iam_profile => true
    })
end

options.merge!({
    :aws_access_key_id => aws_access_key_id,
    :aws_secret_access_key => aws_secret_access_key
})

...
@mgoggin
Copy link

mgoggin commented Jan 8, 2020

This might get more traction if you forked the repo and made the change and opened a pull request with this change.

@PikachuEXE
Copy link
Member

It's actually related to #339
But I do want users to ensure this is not due to upstream gem fog-aws issue / setup issue
See my #339 (comment)

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

No branches or pull requests

3 participants