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

ClientError An error occurred (IllegalLocationConstraintException) when calling the ListObjectsV2 operation: The ap-east-1 location constraint is incompatible for the region specific endpoint this request was sent to #801

Open
alucard001 opened this issue Jul 11, 2023 · 0 comments

Comments

@alucard001
Copy link

Describe the bug
Got an error with message below:

ClientError An error occurred (IllegalLocationConstraintException) when calling the ListObjectsV2 operation: The ap-east-1 location constraint is incompatible for the region specific endpoint this request was sent to

To Reproduce
Steps to reproduce the behavior:
Docker command:
docker run --rm --mount type=bind,src=/my-source/cloudformation,target=/root --workdir /root taskcat/taskcat taskcat test run

Within /my-source/cloudformation, directories are listed below:

/root/.aws/configure

[default]
aws_access_key_id=my_key
aws_secret_access_key=my_secret

/root/.aws/config

[default]
region=ap-east-1
output=text

/root/.taskcat.yml

project:
  name: opensearch
  package_lambda: false
  s3_bucket: my-s3-bucket-in-ap-east-1
  shorten_stack_name: true
  auth:
    default: default
  regions:
    - ap-east-1
tests:
  ossetup:
    stack_name: opensearch-setup
    template: /root/cf-OpenSearchServer.yml

Result Output:

version 0.9.39
Not in terminal, reprint now using normal build-in print function.

[INFO   ] : Linting passed for file: /root/cf-OpenSearchServer.yml
[WARN   ] : No stacks were created... skipping cleanup.
[ERROR  ] : ClientError An error occurred (IllegalLocationConstraintException) when calling the ListObjectsV2 operation: The ap-east-1 location constraint is incompatible for the region specific endpoint this request was sent to.

**Version (Please make sure you are running the latest version of taskcat)

  • version 0.9.39

Note: Python Version (python3 required)

Additional context
I've researched this problem but not sure how to fix this. Here are the references:

Please help. Thank you very much in advance for your help.

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

No branches or pull requests

1 participant