concept

Provisioners and external execution

Review provisioner execution, timing and failure boundaries.

Formal Syntax & Structure

terraform syntaxterraform
Provisioners and external execution

Working Example

Example Snippetterraform
# Static example only; POSIX shell assumed.resource "terraform_data" "notice" {  input = "catalog-v1"
  provisioner "local-exec" {    command     = "printf '%s\\n' \"$LAB_LABEL\""    environment = { LAB_LABEL = self.input }  }}
Terraform Reference
Provisioners and external execution — Terraform | ByteMind