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.moduleMin version: 5.15.0Defaults:
key sourceRelationships
3 resources · 11 relationships·Click to select, expand fields to see properties.
Fields (5)
| Field | Type | Description |
|---|---|---|
block | terraform.block | Block (including the configuration) |
dirrequired | string | Path to the directory where the module is stored |
keyrequired | string | Unique identifier for the module |
sourcerequired | string | Source from which the module was loaded |
versionrequired | string | Module version |