concept
Provisioners and external execution
Review provisioner execution, timing and failure boundaries.
Formal Syntax & Structure
terraform syntaxterraform
Provisioners and external executionWorking 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 } }}