Module Source Options

Learn about the Terraform module and its source options.

What is a Terraform module?

A Terraform module is simply a configuration that defines inputs, resources, and outputs. All are optional! When we create a set of tf or tf.json files in a directory, that’s a module. The main configuration we’re working with is the root module, and it can invoke other modules to create resources.

Get hands-on with 1400+ tech skills courses.