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 getting package versions from other files #3061

Open
suzuki-shunsuke opened this issue Aug 24, 2024 · 0 comments
Open

Support getting package versions from other files #3061

suzuki-shunsuke opened this issue Aug 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@suzuki-shunsuke
Copy link
Member

suzuki-shunsuke commented Aug 24, 2024

Feature Overview

Similar to #2632 .

Support getting package versions from other files.

  • .terraform-version, .nvmrc, .node-version
  • Get a version from JSON, YAML, TOML using JSONPath or something

Why is the feature needed?

To share the version definition with other tools.
To make DRY.

Workaround

No response

Example Code

- name: hashicorp/terraform
  version: file(".terraform-version")

Note

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

1 participant