Skip to content
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

Restore S3 FIPS and custom endpoint capabilities #48684

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rosstimothy
Copy link
Contributor

When migrating the S3 events handler to use aws-sdk-go-v2 applying the FIPS settings and custom endpoint were inadvertently dropped. This restores the functionality, while also adding tests to ensure that they are always respected going forward.

A similar test was added to the dynamodb events handler as well to prevent any regressions with FIPS settings there.

@rosstimothy rosstimothy added the no-changelog Indicates that a PR does not require a changelog entry label Nov 8, 2024
Comment on lines -37 to -40
func TestMain(m *testing.M) {
utils.InitLoggerForTests()
os.Exit(m.Run())
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is removed because it's already defined in the package. This went unnoticed because this file is gated by a build tag is not often ran 😢.

When migrating the S3 events handler to use aws-sdk-go-v2 applying
the FIPS settings and custom endpoint were inadvertently dropped.
This restores the functionality, while also adding tests to ensure
that they are always respected going forward.

A similar test was added to the dynamodb events handler as well to
prevent any regressions with FIPS settings there.
@rosstimothy rosstimothy marked this pull request as ready for review November 8, 2024 17:38
@github-actions github-actions bot added audit-log Issues related to Teleports Audit Log size/md labels Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audit-log Issues related to Teleports Audit Log backport/branch/v17 merge-for-v17 no-changelog Indicates that a PR does not require a changelog entry size/md
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants