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

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

Closed
danielpsf opened this issue Sep 14, 2017 · 6 comments

Comments

@danielpsf
Copy link

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/

@p4tin
Copy link
Collaborator

p4tin commented Sep 18, 2017

@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...

@danielpsf
Copy link
Author

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.
So, if you implement a parameter like AWS_ACCESS_KEY, AWS_SECRET_ACCESS_KEY or AWS_REGION we could easily achieve a local complex environment setup with a couple of docker runs.

What do you think?

@p4tin
Copy link
Collaborator

p4tin commented Sep 19, 2017

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?

@danielpsf
Copy link
Author

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 😊.

@p4tin
Copy link
Collaborator

p4tin commented Oct 7, 2017

@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?

@danielpsf
Copy link
Author

Wow, nice... Thanks man 😉

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

2 participants