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

brig and galley have no place to config aws region #256

Closed
cospotato opened this issue Mar 25, 2018 · 2 comments
Closed

brig and galley have no place to config aws region #256

cospotato opened this issue Mar 25, 2018 · 2 comments

Comments

@cospotato
Copy link

cospotato commented Mar 25, 2018

My AWS Service Region:
SQS service is in us-east-2
SES service is in us-east-1
dynamoDB is in us-east-2

When I starting the brig/galley service, I got this error message:

service: GeneralError (ServiceError (ServiceError' {_serviceAbbrev = Abbrev "SQS", _serviceStatus = Status {statusCode = 403, statusMessage = "Forbidden"}, _serviceHeaders = [("Server","Server"),("Date","Sun, 25 Mar 2018 03:35:42 GMT"),("Content-Type","text/xml"),("Content-Length","322"),("Connection","close"),("x-amzn-RequestId","21de53ba-6909-52ba-b731-008b7247b060")], _serviceCode = ErrorCode "SignatureDoesNotMatch", _serviceMessage = Just (ErrorMessage "Credential should be scoped to a valid region, not 'us-east-1'. "), _serviceRequestId = Just (RequestId "21de53ba-6909-52ba-b731-008b7247b060")}))
@cospotato cospotato changed the title brig and brig and galley have no place to config aws region Mar 25, 2018
@tiago-loureiro
Copy link
Contributor

Hi @cospotato
brig and galley use amazonka as the AWS library, which in turn will try to load your AWS credentials in different ways as described here.

In our case, and when running our integration tests, we also need to set a default AWS_REGION, as shown and explained here

In your case, does export AWS_REGION=us-east-1 help?

@cospotato
Copy link
Author

@tiago-loureiro Thank you! Problem solved!

smatting pushed a commit that referenced this issue Apr 20, 2022
* Cross-reference topics.

* Inline SAML/SSO design.rst.

* Concepts.

* Further reading.
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