Lab created for testing purposes
We’re glad you asked - there are many options to install Terraform. We recommend Homebrew
Note: Install Xcode on MacOS prior to installation of Homebrew. Trust us on this.
- brew install --cask visual-studio-code
- brew install
--cask atom
- brew install
--cask sublime-text
- brew install terraform
- brew install git
- brew install awscli
- brew install azure-cli
- brew install
--cask google-cloud-sdk
- brew install warrensbox/tap/tfswitch (optional, yet strongly recommended)
Additionally, our good friend Anthony Rees created a repo from which you can run a script to install the above tools and more. You may need to comment out applications you don't need to streamline the process. Note: I'm using a fork of his repo.
main.tf - AWS resources defined
providers.tf - Definies how to access AWS securely
datasources.tf - Creates the Ubuntu AMI (Amazon Machine Image)
outputs.tf - Displays ip address of ec2 instance
userdata.tpl - Used to bootstrap (load a program that will be ready to use) the Ubuntu AMI
Note: Terraform 13.0 is in use for this repo