Install terraform-inventory on Mac in Easy Steps

What is “terraform-inventory” Package?

Terraform State Ansible Dynamic Inventory
For more details: https://github.com/adammck/terraform-inventory

Installation

  • Open Terminal by pressing command+space then type terminal and hit Enter key.
  • Install homebrew first.
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  • Install terraform-inventory.
    brew install terraform-inventory

Now, use terraform-inventory!

Install Terraform and Launch EC2 Instance

Watch the tutorial below to install and setup terraform to launch ec2 instance on AWS. This tutorial is provided by Appychip

Create VPC subnet route-table ec2 using terraform

Watch the below video on “Create AWS Infrastructure With Terraform | VPC | Subnet | EC2 | Route Table | Internet Gateway”