alliasgher opened a new pull request, #65173:
URL: https://github.com/apache/airflow/pull/65173

   ## What does this PR do?
   
   `QUEUE_REGEXP` only matched `amazonaws.com` domains, so 
`SqsMessageQueueProvider.queue_matches()` returned `False` for AWS China region 
URLs such as:
   
   ```
   https://sqs.cn-north-1.amazonaws.cn/123456789012/my-queue
   ```
   
   Extends the regex to accept `amazonaws.cn` as an alternate domain suffix, 
supporting China regions `cn-north-1` and `cn-northwest-1`.
   
   Fixes #65128
   
   ## Are there any user-facing changes?
   
   SQS queue URLs in AWS China regions are now correctly recognised by the 
`SqsMessageQueueProvider`.
   
   ## Checklist
   
   - [x] Added test cases for `cn-north-1` and `cn-northwest-1` China region 
URLs in `test_message_sqs_queue_matches`
   
   Signed-off-by: Ali <[email protected]>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to