Posts

Showing posts from November, 2021

Installing Terraform and configure

 Installing Terraform Install yum-config-manager to manage your repositories. $ sudo yum install -y yum-utils Use yum-config-manager to add the official HashiCorp Linux repository. $ sudo yum-config-manager --add-repo  https://rpm.releases.hashicorp.com/AmazonLinux/hashicorp.repo Install. $ sudo yum -y install terraform TIP: Now that you have added the HashiCorp repository, you can install Vault, Consul, Nomad and Packer with the same command. Verify the installation Verify that the installation worked by opening a new terminal session and listing Terraform's available subcommands. $ terraform -help Usage: terraform [-version] [-help] <command> [args] The available commands for execution are listed below. The most common, useful commands are shown first, followed by less common or more advanced commands. If you're just getting started with Terraform, stick with the common commands. For the other commands, please read the help and docs before usage. ##... Add any subcomman