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

Import multiple variables from the same package without defining the pkg each time #422

Closed
brianrexrode opened this issue Feb 13, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@brianrexrode
Copy link

Is your feature request related to a problem? Please describe

It would be nice to have the ability to import multiple variables from the same package without having to define the package for each variable.

Describe the solution you'd like

packages:
  - name: s3-irsa-iac
    exports:
      - name: LOKI_S3_BUCKET
      - name: LOKI_S3_IRSA_ROLE_ARN
      - name: LOKI_S3_AWS_REGION
      - name: VELERO_S3_BUCKET
      - name: VELERO_S3_IRSA_ROLE_ARN
      - name: VELERO_S3_AWS_REGION
  - name: uds-core
    imports:
      - package: s3-irsa-iac
        name: LOKI_S3_BUCKET
        name: LOKI_S3_IRSA_ROLE_ARN
        name: LOKI_S3_AWS_REGION
        name: VELERO_S3_BUCKET
        name: VELERO_S3_IRSA_ROLE_ARN
        name: VELERO_S3_AWS_REGION

Describe alternatives you've considered

(optional) A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

@UncleGedd
Copy link
Collaborator

@brianrexrode in the latest release of UDS CLI we changed the behavior of exports such that all exported variables are global by default. Does that change resolve this issue?

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

No branches or pull requests

3 participants