You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
For AWS China region base domain is slightly different than for the rest world. It is amazon.com.cn.
Currently AWS domain is hard coded in the sqs.go. Would be nice if that will be configured parameter.
To Reproduce
Deploy service to the China AWS region and use SQS subscription
Expected behavior
probeSQS should returns true if it is passed https://sqs.cn-northwest-1.amazonaws.com.cn/123456789/myqueue
sqsRegionFromPlainURL should return cn-northwest-1 if it is passed https://sqs.cn-northwest-1.amazonaws.com.cn/123456789/myqueue
I prepared minor changes which is fixing this problem: #702
The text was updated successfully, but these errors were encountered:
Describe the bug
For AWS China region base domain is slightly different than for the rest world. It is amazon.com.cn.
Currently AWS domain is hard coded in the sqs.go. Would be nice if that will be configured parameter.
To Reproduce
Deploy service to the China AWS region and use SQS subscription
Expected behavior
probeSQS
should returnstrue
if it is passedhttps://sqs.cn-northwest-1.amazonaws.com.cn/123456789/myqueue
sqsRegionFromPlainURL
should returncn-northwest-1
if it is passedhttps://sqs.cn-northwest-1.amazonaws.com.cn/123456789/myqueue
I prepared minor changes which is fixing this problem: #702
The text was updated successfully, but these errors were encountered: