-
Notifications
You must be signed in to change notification settings - Fork 144
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
As a GoAWS Docker user, I would like to pass AWS related information as parameter so I can use GoAWS together with other local AWS services, such as Local DynamoDB #115
Comments
@danielpsf I apologize but I am not exactly sure what you are asking for me to implement. Can you give me a bit more detail on what the goaws code would do with the extra parameters... |
Hi @p4tin, I would like to have all my local environment with the same parameters, such as AWS credentials and region, so I can start other AWS local components like DynamoDB or Kinesis and yet have the same configuration. What do you think? |
Sorry again I am still confused... Are those docker parameters? or do you want goaws to accept ENVIRONMENT VARIABLES instead of using the config.yaml? |
Well, they can be docker parameters, but it also would be alright to use the config.yaml to configure the AWS_ACCESS_KEY, AWS_SECRET_KEY and AWS_REGION. I haven't noticed it on https://github.com/p4tin/goaws/blob/master/app/conf/goaws.yaml (which I think is the config model). As you've shown here we've to use X/X to access the GoAWS service. What I'm saying is that it would be nice to have a way of set those details into the docker during start time, so we can develop within a larger ecosystem of applications that also require that kind of information. I don't know if what I'm asking is already developed, I can be missing something that is already done and can solve this issue. If that is the case, sorry 😊. |
@danielpsf - I got where the confusion comes from now - lol... goaws does not actually use the credentials you pass to it in the connection strings for anything - I blindly accepts anything you put in there so you can have an environment variable if you want or like I put there X/X. Does that answer you question? |
Wow, nice... Thanks man 😉 |
I'm currently using a local DynamoDB Docker which supports the parameters below and as many of us do use SNS/SQS within other AWS services, would be nice to have these options so we could use GoAWS with other AWS local services.
-e AWS_ACCESS_KEY_ID=key -e AWS_SECRET_ACCESS_KEY=secret aws --region us-east-1 dynamodb --endpoint http://localhost:8000/
The text was updated successfully, but these errors were encountered: