Mondoo Docs

Terraform module block

terraform.module MQL resource for querying Terraform infrastructure with cnquery and cnspec.

Terraform

Terraform module block

Use MQL in cnspec shell or policy:

terraform.module
Min version: 5.15.0Defaults: key source

Relationships

Mini Map
Terraform
3 resources · 11 relationshipsClick to select, expand fields to see properties.

Fields (5)

FieldTypeDescription
block
terraform.blockBlock (including the configuration)
dirrequired
stringPath to the directory where the module is stored
keyrequired
stringUnique identifier for the module
sourcerequired
stringSource from which the module was loaded
versionrequired
stringModule version