terraform.block
Supported Platform
- terraform
Maturity
experimental
Description
Terraform Resource Block
Fields
ID | TYPE | DESCRIPTION |
---|---|---|
type | string | Resource type |
nameLabel | string | Resource Name Label |
labels | []string | Resource Labels |
start | terraform.fileposition | Block Start Position |
end | terraform.fileposition | Block End Position |
arguments | dict | Block Arguments |
attributes | dict | Raw Block Attributes |
blocks | []terraform.block | Child Blocks |
snippet | string | Block Snippet |
Examples
Display all Terraform blocks and their arguments
terraform.blocks { nameLabel arguments }