Skip to content

Vadgyik/action-terraform

 
 

Repository files navigation

license release GitHub release date Test Action CodeFactor

Setup Terraform GitHub Action

Set up your GitHub Actions workflow with a specific version of Terraform.

Usage

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: 1.2.8
      - name: Interact with Terraform
        run: terraform --version

Inputs

Parameter Description Required
terraform_version Terraform version to deploy true

Outputs

Parameter Description
terraform_path Cached tool path of Terraform

Supported platforms

This action has been tested on the following platforms:

  • ubuntu-18.04
  • windows-latest
  • macos-latest

Contributing

Contributions to this repository are very welcome! We follow a fairly standard pull request process for contributions, subject to the following guidelines:

  1. File a GitHub issue
  2. Fork the repository
  3. Update the documentation
  4. Update the tests
  5. Update the code
  6. Create a pull request
  7. (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.

License

The scripts and documentation in this project are released under the MIT license.

About

GitHub action for setting up Terraform https://terraform.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 83.5%
  • Shell 14.2%
  • JavaScript 2.3%