Skip to content

Support getting package versions from other files #3061

@suzuki-shunsuke

Description

@suzuki-shunsuke

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions