Hello, and welcome to this Pluralsight presentation. My name is Andrew Mallett,
and I'm here as your instructor to help guide you through the module,
Implementing Terraform to Deploy Your Virtual Machines.
We'll be taking a look at what Terraform can do and understanding a little bit
more about Terraform. The first thing to understand that it's part of the
HashiCorp range of products, so this includes products even such as Vagrant that
we started off by looking at. We can use it to deploy and manage virtual
machines and containers, and then that gives us the single Terraform interface
that allows us to deploy public and private cloud virtual machines, as well as
containers such as Docker. We're going to be installing Terraform upon our
Ubuntu 20.04 system.
You're also able, if you want to, to follow the URL on the screen,
where you're able to see then how it's specified to be carried out
by Terraform themselves. As we work our way through this, we can
make sure we've got our cache up to date, and then we can install
the required software,
making sure that we've got the GNU Pretty Good Privacy encryption keys,
making sure that we've got the tools to create our repositories, and curl. With
everything installed then, we can use curl to download the signing key from
HashiCorp and add it to the local key store in Ubuntu.
With that done, then we're able to add in our repository, and making
sure that we've got a list of HashiCorp products that are available to
us. With the repository in place, we can then go through and install
Terraform. Once we've got it installed,
a very basic check is to check out the version. We've done this with
pretty much everything we've installed so far.
But with that done,
we can also take a further step and take a look at installing
auto‑completion, so the bash completion scripts that will work with
Terraform so we can auto complete on the subcommands such as version and
the like. We can either log out or log in again, but another simple
mechanism there is, is to source the .bashrc file.
This will have then the entry that we've added for the
auto‑complete for Terraform. Now, as always,
the very best way to start learning is to practice yourself, and
we're going to be dropping out in our next clip for our first demonstration, and I'd encourage you to join me.