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

access_key is required even if machine has an IAM role attached #2

Open
shacharbz opened this issue Mar 7, 2017 · 0 comments
Open

Comments

@shacharbz
Copy link

running on a remote aws windows host with an IAM role to enable s3 access.
I manage to download the file using:
win_shell: Read-S3Object -BucketName "{{ bucket_name }}" -Key "{{ key_name }}" -File "{{ temp_dir }}\some-file.txt"

but when trying to use win_s3 I get:
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fatal: [173.15.26.17]: FAILED! => {"changed": false, "failed": true, "msg": "The property 'access_key' cannot be found on this object. Verify that the property exists."}

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

1 participant