Skip to main content

terraform.block

Supported Platform

  • terraform

Maturity

experimental

Description

Terraform Resource Block

Fields

IDTYPEDESCRIPTION
typestringResource type
nameLabelstringResource Name Label
labels[]stringResource Labels
startterraform.filepositionBlock Start Position
endterraform.filepositionBlock End Position
argumentsdictBlock Arguments
attributesdictRaw Block Attributes
blocks[]terraform.blockChild Blocks
snippetstringBlock Snippet

Examples

Display all Terraform blocks and their arguments

terraform.blocks { nameLabel arguments }