From the course: Learning Terraform

Unlock the full course today

Join today to access over 23,500 courses taught by industry experts.

Terraform registry: Modules

Terraform registry: Modules - Terraform Tutorial

From the course: Learning Terraform

Terraform registry: Modules

“

- [Instructor] The Terraform Registry is also where you can find official modules. So in this lesson, we're going to find a module to simplify our code. We'll click on browse modules, and on the left-hand side we can filter down to the AWS provider. So let's scroll down a little bit and find security-group. On the module page, there's a lot of information here. You can see the different submodules it depends on and you can also see a link to some examples. The first thing we want to look at is the provision instructions that are over on the right here. So we'll highlight that block and click copy. Before we paste that into our code, let's look at the documentation. You could see some information here. On this module at the top, there are some links here. You can see the inputs, which are the different parameters this module will take, the outputs which are the values that allow output, and then some other things. If we scroll down to this features list, this is actually really helpful…

Contents