You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Terraform installer
v1.0.3
Set up your GitHub Actions workflow with a specific version of Terraform.
The next example step will install Terraform 0.12.20.
name: Example workflow
on: [push]
jobs:
example:
name: Example Terraform interaction
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Terraform
uses: autero1/[email protected]
with:
terraform_version: 0.12.20
- name: Interact with Terraform
run: terraform --version
Parameter | Description | Required |
---|---|---|
terraform_version |
Terraform version to deploy | true |
Parameter | Description |
---|---|
terraform_path |
Cached tool path of Terraform |
This action has been tested on the following platforms:
- ubuntu-18.04
- windows-latest
- macos-latest
Contributions to this repository are very welcome! We follow a fairly standard pull request process for contributions, subject to the following guidelines:
- File a GitHub issue
- Fork the repository
- Update the documentation
- Update the tests
- Update the code
- Create a pull request
- (Merge and release)
The maintainers for this repo will review your code and provide feedback. If everything looks good, they will merge the code and release a new version, which you'll be able to find in the releases page.
The scripts and documentation in this project are released under the MIT license.