-
Notifications
You must be signed in to change notification settings - Fork 9
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
Not using iam_role on ec2 #9
Comments
Can you give me the output of sessionInfo() so that I can see all your package versions? |
Sure, output from sessioninfo(): `R version 3.3.3 (2017-03-06) locale: attached base packages: other attached packages: loaded via a namespace (and not attached): |
What does You've definitely picked up on a bug in |
As a work around I have made local copies of send_msg, receive_msg and delete_message, where I just changed Thanks for the quick response. |
The More details at cloudyr/aws.signature#19 (comment) It does work in |
Should now be resolved. Let me know if not. |
Hi, I'm trying to use the package but it does not use the ec2 role to locate the credentials.
As a work around I can just use my environmental variables as parameters like so:
queue <- create_queue(name = "...", key = Sys.getenv('AWS_ACCESS_KEY_ID'), secret = Sys.getenv('AWS_SECRET_ACCESS_KEY'), session_token = Sys.getenv('AWS_SESSION_TOKEN') )
get_queue_url("SplicedSegmentsQ", key = Sys.getenv('AWS_ACCESS_KEY_ID'), secret = Sys.getenv('AWS_SECRET_ACCESS_KEY'), session_token = Sys.getenv('AWS_SESSION_TOKEN') )
list_queues(key = Sys.getenv('AWS_ACCESS_KEY_ID'), secret = Sys.getenv('AWS_SECRET_ACCESS_KEY'), session_token = Sys.getenv('AWS_SESSION_TOKEN') )
I'm more than happy to do this, but when trying to send_message I get this error:
The problem is that when calling .urlFromName() it does not pass my additional parameters, so either we should just pass through the additional parameters or change the definition of sqsHTTP to look like this:
sqsHTTP <- function (url = NULL, query = list(), region = Sys.getenv("AWS_DEFAULT_REGION","us-east-1"), key = Sys.getenv('AWS_ACCESS_KEY_ID'), secret = Sys.getenv('AWS_SECRET_ACCESS_KEY'), session_token = Sys.getenv('AWS_SESSION_TOKEN'), ... )
So it will default to using the environmental variables instead of setting the fields to NULL.
Or am I missing something obvious?
The text was updated successfully, but these errors were encountered: