AWS_USE_FIPS_ENDPOINT
should handle non-existing fips endpoints
#8750
Labels
feature-request
A feature should be added or improved.
Describe the bug
We have
AWS_USE_FIPS_ENDPOINT
enabled and noticed that if we are making aws cli calls to regions which does not support fips service endpoint, AWS CLI still tries to append-fips
in the api call which ends up with DNS resolving error.Expected Behavior
For example, If I enable
AWS_USE_FIPS_ENDPOINT
and then do aaws s3 ls --region ap-southeast-1
. The API call should redirect to "https://s3.ap-southeast-1.amazonaws.com/" since FIPs service endpoint is not in this regionCurrent Behavior
Currently will get below error
Reproduction Steps
AWS_USE_FIPS_ENDPOINT
Possible Solution
No response
Additional Information/Context
No response
CLI version used
2.16.9
Environment details (OS name and version, etc.)
Ubuntu 20
The text was updated successfully, but these errors were encountered: