chore(codeguruprofiler): add region constraints to integ tests#37172
chore(codeguruprofiler): add region constraints to integ tests#37172mergify[bot] merged 2 commits intoaws:mainfrom
Conversation
AWS::CodeGuruProfiler::ProfilingGroup CFN resource type is not available in all regions. Added region constraints to both integ tests to restrict deployment to supported regions. Supported regions: us-east-1, us-west-2, eu-west-1, eu-central-1, ap-northeast-1, ap-southeast-1, ap-southeast-2
|
|
||||||||||||||
|
|
||||||||||||||
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Merge Queue Status
This pull request spent 5 seconds in the queue, with no time running CI. ReasonThe pull request can't be updated
HintYou should update or rebase your pull request manually. If you do, this pull request will automatically be requeued once the queue conditions match again. |
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Merge Queue Status
This pull request spent 10 seconds in the queue, with no time running CI. Required conditions to merge
|
|
Comments on closed issues and PRs are hard for our team to see. |
Issue # (if applicable)
Closes #.
Reason for this change
The
aws-codeguruprofilerintegration tests fail when deployed to regions where theAWS::CodeGuruProfiler::ProfilingGroupCloudFormation resource type is not available (e.g. eu-west-3, sa-east-1, ap-northeast-2, ap-south-1, ca-central-1). The error is:Description of changes
Added
regionsconstraint to theIntegTestprops in both CodeGuruProfiler integ tests, restricting deployment to regions where the CFN resource type is confirmed available:No other code changes. Test logic and assertions are unchanged.
Files modified:
test/aws-codeguruprofiler/test/integ.profiler-group-import-functions.tstest/aws-codeguruprofiler/test/integ.profiler-group.tsDescribe any new or updated permissions being added
N/A
Description of how you validated changes
Result: Tests: 2 passed, 2 total
integ.profiler-group— SUCCESS (us-east-1, 83.6s)integ.profiler-group-import-functions— SUCCESS (us-west-2, 163.9s)Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license