Skip to main content

terraform.module

Supported platform

  • terraform-hcl

Maturity

experimental

Description

Terraform module block

Fields

IDTYPEDESCRIPTION
keystringUnique identifier for the module
sourcestringSource from which the module was loaded
versionstringModule version
dirstringPath to the directory where the module is stored
blockterraform.blockBlock (including the configuration)

Examples

Display all loaded Terraform modules

terraform.modules { key version source}