Skip to content

Not able to start multi-region test for regions newer than 2019 #163

@msalheb

Description

@msalheb

Describe the bug
Error from the other region DLTRegionalFargateDLTCloudWatchLogsGroup:

download failed: s3://load-test-stack-dlttestrunnerstoragedltscenariosbu-3rtzettjjwdy/test-scenarios/8GbeMjMlll-ap-southeast-4.json to ./test.json An error occurred (IllegalLocationConstraintException) when calling the GetObject operation: The ap-southeast-2 location constraint is incompatible for the region specific endpoint this request was sent to.

Looks like issue is on below code that is not specifying the region when copying.
https://github.com/aws-solutions/distributed-load-testing-on-aws/blob/main/deployment/ecr/distributed-load-testing-on-aws-load-tester/load-test.sh#L25

To Reproduce
1 - Add the ecs:TagResource permission to the regional policy created under DLTLambdaFunctionDLTTestLambdaTaskR role.
2 - Execute a test on the new region.

Expected behavior
Test should work from another region

Please complete the following information about the solution:

  • Version: [e.g. v1.1.0]
    3.2.5
  • Region: [e.g. us-east-1]
    ap-southeast-4
  • Was the solution modified from the version published on this repository?
    Yes, only added the ecs:tag permission
  • If the answer to the previous question was yes, are the changes available on GitHub?
    No, issue opened by another user
  • Have you checked your service quotas for the services this solution uses?
    Yes
  • Were there any errors in the CloudWatch Logs?
    Yes

Additional context

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriagedThe issue has been triaged and is valid

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions