Skip to content

Update dependencies to be compatible with 8.4.0 logstash-oss default installation #167

@ryn9

Description

@ryn9

Is your feature request related to a problem? Please describe.
Yes.
Installation of the 1.3.0 plugin fails against a default Logstash OSS 8.4.0 installation

$ logstash-plugin install --version 1.3.0 logstash-output-opensearch
Using bundled JDK: /usr/share/logstash/jdk
Validating logstash-output-opensearch-1.3.0
Resolving mixin dependencies
Updating mixin dependencies logstash-mixin-ecs_compatibility_support
Bundler attempted to update logstash-mixin-ecs_compatibility_support but its version stayed the same
Installing logstash-output-opensearch
Plugin version conflict, aborting
ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "aws-sdk-core":
  In snapshot (Gemfile.lock):
    aws-sdk-core (= 3.131.5)

  In Gemfile:
    logstash-output-opensearch (= 1.3.0) was resolved to 1.3.0, which depends on
      aws-sdk (>= 2.11.632, ~> 2) was resolved to 2.11.632, which depends on
        aws-sdk-resources (= 2.11.632) was resolved to 2.11.632, which depends on
          aws-sdk-core (= 2.11.632)

    logstash-integration-aws was resolved to 7.0.0, which depends on
      aws-sdk-core (~> 3)

Describe the solution you'd like
Please fix dependencies of the plugin to not conflict with needed dependencies of logstash-integration-aws, which is not bundled by default

Describe alternatives you've considered
Installed against Logstash OSS 8.3.3 installation, which does not bundle logstash-integration-aws by default

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions