Block

A block is the primary construction element in configuration. It helps structure an intent. A block is composed of attributes.

Syntax of blocks is specific to WORKSPACE and PROJECT configurations.

target build {
    @dotnet publish { log: true }
    @docker build
}

extension @terraform {
    container = "hashicorp/terraform:1.8.4"
    variables = [ "ARM_TENANT_ID"
                  "ARM_SUBSCRIPTION_ID"
                  "ARM_CLIENT_ID"
                  "ARM_CLIENT_SECRET"
                  "ARM_ACCESS_KEY" ]
}
Last updated on