Skip to content

Conversation

@vietcgi
Copy link
Contributor

@vietcgi vietcgi commented Nov 25, 2025

Setting AWS_USE_FIPS_ENDPOINT=false incorrectly enables FIPS endpoints because the code treats any non-empty string as true.

This fixes boolAttrDefaultEnvVarOk to properly parse "true"/"false" (case-insensitive), matching AWS SDK behavior.

Fixes #37601

@vietcgi vietcgi requested review from a team as code owners November 25, 2025 21:38
@vietcgi vietcgi force-pushed the fix/s3-backend-fips-env-var-parsing branch from d1d6240 to b62d97a Compare November 25, 2025 21:45
@crw
Copy link
Contributor

crw commented Nov 26, 2025

Thanks for this submission! The S3 backend is maintained by the AWS Provider team at HashiCorp, and IBM company. I have notified that team of your PR. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

S3 Backend: AWS_USE_FIPS_ENDPOINT incorrectly enables FIPS endpoints — env variable is not parsed as boolean

2 participants