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

Support the latest versions of Logstash and the AWS SDK for Ruby. #260

Merged
merged 2 commits into from
Oct 17, 2024

Conversation

dlvenable
Copy link
Member

@dlvenable dlvenable commented Oct 17, 2024

Description

Adds the account_id configuration to the AWSIAMCredential struct to work with the latest versions of the AWS SDK for Ruby. Leaving this as nil should be sufficient because we do not use account-based endpoints.

Test against the latest versions of Logstash during the integration testing to also test against these versions of the AWS SDK. For Logstash 7, this is 7.17.24. For Logstash 8, this is 8.15.3.

The GitHub Actions runners now have docker compose instead of docker-compose, so I also updated all those references.

Issues Resolved

Resolves #258

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has documentation added
  • Commits are signed as per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Adds the account_id configuration to the AWSIAMCredential struct to work with the latest versions of the AWS SDK for Ruby.

Test against the latest versions of Logstash during the integration testing to also test against these versions of the AWS SDK.

Resolves opensearch-project#258

Signed-off-by: David Venable <[email protected]>
@dlvenable dlvenable requested review from dblock and oeyh as code owners October 17, 2024 22:55
@dblock
Copy link
Member

dblock commented Oct 17, 2024

I assume CI reproduces this without a fix now? If so merge at will, cut a release.

@dlvenable
Copy link
Member Author

@dblock

I ran this first to reproduce locally:

export LOGSTASH_VERSION=7.17.18
scripts/unit-test/docker-setup.sh
scripts/unit-test/docker-run.sh

And the tests failed with the same error from the #258 issue.

This PR uses that same version in the logstash matrix for GitHub Actions. So the CI is verifying the fix.

@dlvenable dlvenable merged commit a552a9d into opensearch-project:main Oct 17, 2024
48 checks passed
@dblock
Copy link
Member

dblock commented Oct 18, 2024

Thanks so much for fixing this @dlvenable!

@weizhu-us
Copy link

confirmed, the plugin works on my local env. Thank you!
please let me know when you can cut a release for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] aws-core-sdk 3.207.0
3 participants