Terraform

Terraform

Setup

To install Terraform, run the setup script with the terraform tags:

./setup -t terraform

Setup using asdf-vm

To install Terraform with asdf-vm, add the following configuration to machine.yaml file in the local linux-machine directory:

asdf_plugins:
  - name: terraform
    versions:
      - "0.11.14"

Then install Terraform using the asdf tagged role:

./setup -t asdf

Known issues

Terraform, asdf-vm and pre-commit managed Git hooks

I've had some issues using Terraform with the asdf-vm shim scripts when calling terraform from pre-commit managed Git hooks on WSL.