Skip to content

Terraform Cache

Actions
Cache Terraform providers to improve workflow execution time
v1.0.0
Latest
Star (2)

Tags

 (1)

Terraform Cache

This action allows caching Terraform providers to improve workflow execution time.

LICENSE GitHub stars

Usage

Pre-requisites

Create a workflow .yml file in your repositories .github/workflows directory. For more information, reference the GitHub Help Documentation for Creating a workflow file.

Cache Details

This action currently caches the following directories:

  • $HOME/.terraform.d/plugin-cache (Path where the providers will be installed)

Example workflow

- uses: actions/checkout@v3

- name: Setup Terraform
  uses: hashicorp/setup-terraform@v2
  with:
    terraform_version: 1.4.6

- uses: terraform-cache/terraform-cache@v1

- name: Init
  run: |
    terraform init

Contributing

Check out Contributing guide for ideas on contributing and setup steps for getting our repositories up.

License

Licensed under the MIT License.

Terraform Cache is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Cache Terraform providers to improve workflow execution time
v1.0.0
Latest

Tags

 (1)

Terraform Cache is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.