Skip to content

Read terraform version from a .terraformrc file #208

Open
@nitrocode

Description

@nitrocode

Instead of hard coding the version in the workflow, it would be nice to have it read it from a file similar to how actions/setup-node@v3 reads from .nvmrc

      - name: Setup node
        uses: actions/setup-node@v3
        with:
          node-version-file: '.nvmrc'

Something like this perhaps ?

      - uses: actions/checkout@v3
      - uses: hashicorp/setup-terraform@v2
        with:
          terraform_version_file: '.terraformrc'

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