Skip to content

Data stream datasets are not picked up dynamically for Input type packages #1806

Closed
@ShourieG

Description

@ShourieG

Currently for Input packages, elastic-package does not seem to be picking up datastream.dataset defined under vars:
Example -

service: google-cloud-storage-emulator
input: gcs
vars:
  project_id: testproject
  alternative_host: "http://{{Hostname}}:{{Port}}"
  data_stream.dataset: google_cloud_storage.generic
  buckets: |
    - name: testbucket
      poll: true
      poll_interval: 15s

elastic-package always defaults to the convention of {{package_dir_name}}.{{policy_template_name}} for input packages, since input packages lack the data stream directory. This causes the issue where testing input packages with custom data streams that break the {{package_dir_name}}.{{policy_template_name}} convention, to become impossible.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions