-
Notifications
You must be signed in to change notification settings - Fork 2.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
redshift aws-us-gov partition fips endpoint doesn't work #4797
Comments
Thanks for pointing this out. We are in the process of getting these endpoints updated, but this requires changes to the services. This might take a while so please use this workaround while waiting for this to be updated. You can find the correct endpoints here: sess := session.Must(session.NewSession(&aws.Config{
Region: aws.String(endpoints.UsGovWest1RegionID),
Endpoint: aws.String("https://redshift.us-gov-west-1.amazonaws.com")
})) |
Is there a record on how many of these endpoints are incorrect? In my case there are multiple applications using the sdk-go library (some of them are kubernetes core service related) where I don't modify the code. Running in gov cloud it has been suggested to use all fips endpoints, but seeing AWS_USE_FIPS_ENDPOINT=true can be problematic if the endpoints aren't correct. I see the same issue within the terraform-aws-provider but that could be their version of the SDK. Any updates on when this may get fixed not as a workaround. |
Hi, This issue has been brought up multiple times. We have identified about 20 services that were impacted, and almost all of them have pushed a fix. I believe that Redshift and SSO are the only two remaining services that have not pushed a fix yet but this is a work in progress (this is solved upstream with the service team itself, not on the SDK level) Right now you can use the workaround mentioned by @jmklix , or upgrade to v2 which doesnt rely on the same endpoint resolution logic and is not impacted. Im going to keep this issue open until we get Redshift sorted out. Thanks, |
@RanVaknin Is there a similar tracking issue for the SSO endpoint resolution? There's an open issue on terraform where folks are reporting several of the other impacted services, also:
|
Hit same issue with ec2-fips.us-gov-west-1.amazonaws.com :( |
Hi all, The only 2 remaining services that have not fixed their FIPS configuration is SSO and Redshift. If you need help mitigating this you can file a support ticket using the AWS console and ask for an escalation. Currently this is not actionable by the SDK team. You can also consider upgrading to Go SDK v2 which uses a different endpoint resolution scheme altogether. Thanks, |
Hi all, If this still persists in v2, please open a new issue on our v2 queue. Thanks, |
Comments on closed issues are hard for our team to see. |
Describe the bug
when setting UseFIPSEndpoint to true I cannot use the redshift client in the aws-us-gov partition.
Expected Behavior
The redshift client works with UseFIPSEndpoint in aws-us-gov partition
Current Behavior
The host is incorrect need to drop the
-fips
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
SDK version used
v1.44.241
Environment details (Version of Go (
go version
)? OS name and version, etc.)go version go1.20.2 darwin/amd64
The text was updated successfully, but these errors were encountered: