root module

The configuration in the directory where you run Terraform commands, which may call other modules.

In more detail

Environment choices, provider configuration and the backend belong in the root module, where the team can see them. The root can read child modules' outputs but never their internal resources.

Related terms

Taught in

References

Certification courses