Maintaining Multiple Terraform Versions

While for most cases the latest version is enough, depending on the requirements, and providers, sometimes we have to keep a specific older version of Terraform binary handy to manage our infrastructure. Here are some ways users can maintain multiple versions easily on their desktops locally or on servers using third-party tools or manually. Third-party tools Terraform Switcher (tfswitch) and tfenv both similar tools that lets users pick and use a specific Terraform version they or their code requires.

Generating Ansible Inventory Files From Terraform

First a template of the inventory file should be created depending on the infrastructure design with all the dynamic values set as tokens. For example, here is an inventory file template which handles multiple EC2 instances created in AWS. Server IP and private key file path is added as tokens and it will be filled once the terraform finish creating the infrastructure in AWS or any other providers. For this example AWS is used.

Shortcut: Share Files Clipboard With Devices in Same Network

Usage Download: https://github.com/dhamith93/shortcut/releases Run the ./shortcut executable. A browser window will be opened with the URL to connect from other devices. Currently supports Linux/macos/Windows. Default port is :5500, but it can be changed by editing the config.json file. Make sure to add the semicolon before the port when changing. Files can be dragged and dropped/uploaded from the browser and can be uploaded/downloaded by anyone visiting the URL from the same network from any device.