You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Install Terraform
v0.0.6
Install Terraform to a Github Actions job environment.
Create a workflow .yml
file in your repositories .github/workflows
directory. An example workflow is available below. For more information, reference the GitHub Help Documentation for Creating a workflow file.
version
: The version of terraform to install. Default: 0.12.21
None.
name: Example installing Terraform
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Install Terraform
uses: little-core-labs/install-terraform@v1
- name: Terraform apply
run: |
terraform init
terraform plan
terraform apply -auto-approve
PRs welcome. Honor and respect.
The scripts and documentation in this project are released under the MIT License