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

Fix the Unrecognized Client exception for China/ITAR tests #475

Merged
merged 5 commits into from
Mar 7, 2025

Conversation

varunch77
Copy link
Member

@varunch77 varunch77 commented Mar 7, 2025

Description of the issue

Multiple China/ITAR tests are failing due to an UnrecognizedClientException when calling AWS APIs.

China
https://github.com/aws/amazon-cloudwatch-agent/actions/runs/13507749182/job/37741584109#step:7:1326
https://github.com/aws/amazon-cloudwatch-agent/actions/runs/13507749182/job/37741587895#step:7:1253
https://github.com/aws/amazon-cloudwatch-agent/actions/runs/13507749182/job/37741587403#step:7:2236

ITAR
https://github.com/aws/amazon-cloudwatch-agent/actions/runs/13533128422/job/37819655349

Description of changes

This change configures the AWS clients to use the actual region instead of always defaulting to us-west-2.

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. ✅

Tests

Integration test run: https://github.com/aws/amazon-cloudwatch-agent/actions/runs/13725123440

@varunch77 varunch77 requested a review from a team as a code owner March 7, 2025 03:02
TravisStark
TravisStark previously approved these changes Mar 7, 2025
@varunch77 varunch77 merged commit 00eabb4 into main Mar 7, 2025
2 checks passed
@varunch77 varunch77 deleted the client-exception branch March 7, 2025 21:38
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

Successfully merging this pull request may close these issues.

3 participants