Closed penglerts closed 1 week ago
The Resource Groups Tagging service doesn't have a FIPS endpoint, according to the service Endpoints and Quota page: https://docs.aws.amazon.com/general/latest/gr/arg.html
The SDK will construct the FIPS endpoint based on the normal endpoint for that service, and use it in the client, but it doesn't know if the FIPS endpoint exists or not.
Another reference is the list of available FIPS endpoints by service - https://aws.amazon.com/compliance/fips/#FIPS_Endpoints_by_Service
Upcoming End-of-Support
Describe the bug
When we set
-Daws.useFipsEndpoint=true
then we have exceptionCaused by: java.net.UnknownHostException: tagging-fips.eu-west-2.amazonaws.com
(calling e.g.software.amazon.awssdk.services.resourcegroupstaggingapi.ResourceGroupsTaggingApiAsyncClient#getResources
).Is this endpoint coreect? it is set automatically by SDK.
Expected Behavior
FIPS endpoint works
Current Behavior
UnknownHostException
Reproduction Steps
set
-Daws.useFipsEndpoint=true
and callsoftware.amazon.awssdk.services.resourcegroupstaggingapi.ResourceGroupsTaggingApiAsyncClient#getResources
Possible Solution
No response
Additional Information/Context
No response
AWS Java SDK version used
software.amazon.awssdk.resourcegroupstaggingapi:2.26.12
JDK version used
openjdk version "21.0.1" 2023-10-17 LTS
Operating System and version
ubuntu