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

Region: Not able to change the region. #58

Open
tarunsingh2789 opened this issue Dec 28, 2020 · 1 comment
Open

Region: Not able to change the region. #58

tarunsingh2789 opened this issue Dec 28, 2020 · 1 comment

Comments

@tarunsingh2789
Copy link

tarunsingh2789 commented Dec 28, 2020

I am trying to set different region other than us-east-1 using"aws configuration" using below command:

AWS Access Key ID [None]: XXXXXXXXXXXXXXXXXX
AWS Secret Access Key [None]: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Default region name [None]: us-east-2
Default output format [None]:

It's happening because of hardcoded topic in https://github.com/s12v/sns/blob/a15a2bbec5a97071d0682f5ff1dd2123cdd18bfd/src/main/scala/me/snov/sns/actor/SubscribeActor.scala

val topic = Topic(s"arn:aws:sns:us-east-1:123456789012:$name", name)

Is there other way to change the region?

@tarunsingh2789 tarunsingh2789 changed the title Region: Not able to change region for. Region: Not able to change region. Dec 28, 2020
@tarunsingh2789 tarunsingh2789 changed the title Region: Not able to change region. Region: Not able to change the region. Dec 28, 2020
@jameskbride
Copy link

Hello and apologies for the self-advertisement, I've created local-sns as a reimplementation of this project, which includes support for setting the AWS region for the topic. See jameskbride/local-sns#21 for more details.

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