-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
CLI is using the wrong FIPS endpoint for resource groups tagging API #9081
Comments
Hi @markdboyd, thanks for reaching out. This behavior is documented (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-endpoints.html).
Additionally, the expected behavior you described of defaulting to a GovCloud endpoint if a FIPS endpoint doesn't exist isn't something we support. Please let me know if you have any follow-up questions. |
@RyanFitzSimmonsAK Thanks for responding. I can see that this behavior is documented as you say. Is there a reason that the CLI cannot or will not be updated to only use FIPS endpoints when they're available rather than failing when a FIPS endpoint does not exist? |
Would it be better to report this issue on https://github.com/boto/botocore since I assume that is where the relevant code lives? |
To be even more precise, could the issue be resolved by changing this configuration to use the non-FIPS endpoints? |
This is definitely a breaking change, and also presents security and compliance concerns if users could end up using a non-FIPS endpoint when they want to be using one. Given that this is documented and intentional, it's not really a bug. If you have a specific feature request that you think would make this behavior easier to use or more intuitive, I encourage you to open a feature request in this repository. |
Describe the bug
When trying to use the
aws resourcegroupstaggingapi
service from the CLI withuse_fips_endpoint = true
in my AWS config, I'm getting this error:This error makes sense because indeed that endpoint does not exist. There is no specific FIPS endpoint for the tagging service, so the actual endpoint should be https://tagging.us-gov-west-1.amazonaws.com/.
Somehow the CLI is configured to use the wrong endpoint when running in FIPS mode.
Regression Issue
Expected Behavior
There should be no endpoint errors when trying to run
aws resourcegroupstaggingapi
commandsCurrent Behavior
Got this error when trying to run
aws resourcegroupstaggingapi
commands:Reproduction Steps
aws resourcegroupstaggingapi get-resources
Possible Solution
No response
Additional Information/Context
No response
CLI version used
2.21.3
Environment details (OS name and version, etc.)
Mac OS Sonoma 14.7.1
The text was updated successfully, but these errors were encountered: