terraform

terraform

Build Status Apache 2.0 Licence Ansible

Ansible role that installs tfswitch tool in order to get multiple versions of Hashicorp terraform binary installed. Plus, you can choose to install terragrunt wrapper from tgswitch.

Prerequisites

  • ansible

Installation

- hosts: servers
  roles:
    - role: xat.terraform
      tfswitch_user: xat
      terraform_versions:
        - latest
        - 0.14
        - 0.13
      install_terragrunt: true

Usage

Once installed, you can use tfswitch -b ~/.local/bin/terraform to install or switch between terraform versions.

If you choose to install_terragrunt, then use tgswitch -b ~/.local/bin/terragrunt to install or switch between terragrunt versions.

Versioning

For the versions available, see the tags on this repository.

Additionaly you can see what change in each version in the CHANGELOG.md file.

Authors

About

Ansible role that installs Hashicorp terraform.

Install
ansible-galaxy install Xat59/ansible-role-terraform
GitHub repository
License
apache-2.0
Downloads
24
Owner
IT passionate. #cloud #devops #terraform #ansible #k8s #aws #azure