sqs-admin icon indicating copy to clipboard operation
sqs-admin copied to clipboard

Connect do AWS SQS endpoint

Open diegoavitorino opened this issue 1 year ago • 3 comments

Hi, I'm tryng to connect directly to AWS SQS endpoint,:

      - name: SQS_AWS_REGION
        value: "sa-east-1"  
      - name: SQS_ENDPOINT_URL
        value: "https://sqs.myregion.amazonaws.com"  
      - name: ACCESS_KEY
        value: "myaccesskey"   
      - name: SECRET_KEY
        value: "mysecretkey"

But i'm facing the error bellow

2024/04/25 11:03:10 Got an error retrieving queue URLs: operation error SQS: ListQueues, https response error StatusCode: 403, RequestID: 7e55994b-985d-5480-b26c-c7efa2f3a7f7, api error InvalidClientTokenId: The security token included in the request is invalid.

Is there a way to connect to AWS instead localstack?

diegoavitorino avatar Apr 25 '24 11:04 diegoavitorino

Hey @diegoavitorino thanks for asking this question. #707 tried at some time ago to tackle that, but seems like this is currently on ice. The primary goal of SQS-Admin is rather to focus on local dev environment than on AWS integration. Reasons for that is, that SQS-Admin was basically not meant to replace the AWS web console, which one could use as well. If you think there is an actual value that one could switch between local and AWS environments, i would be happy, if #707 could make it happen. However, i fear that my time is currently bound somewhere else, so happy if you want to contribute to SQS-Admin 🕵️‍♂️

PacoVK avatar Apr 25 '24 13:04 PacoVK

Thanks for your feedback @PacoVK , I'll try to figure out how to connect to contribute do SQS-Admin

diegoavitorino avatar Apr 25 '24 17:04 diegoavitorino

That would be awesome 😊 as I said you could use #707 as a reference. It should work locally first (default behavior), and someone can enable the online mode, kind of. I am eager to help if you have any questions 🙋‍♂️

PacoVK avatar Apr 25 '24 18:04 PacoVK