Workspace (kind: workspace)
The composed “image” (ADR-0011): a static, versioned declaration of everything a solution could
deploy — providers, resources, topologies, namespaces, and the provisioning recipe that builds/
deploys them. A deployment (the “container instance”) executes that recipe
against a specific environment; it never invents new tool bindings, only supplies runtime
parameters.
Schema
spec.providers[]— provider slots: each is aproviderdocument name, or{slot, provider}to give the slot a stable name distinct from its default document. IaC code addresses the slot (strata.providers.<slot>); adeploymentcan rebind it to another provider document of the same type — see “Provider slots” belowspec.assets[]— asset slots: each is anassetdocument name, or{slot, asset}to give the slot a stable name distinct from its default document. A step selects slots through its ownassets, and adeploymentcan rebind a slot — see “Asset slots” belowspec.resources[]— workspace-local resource instances, each:name— the workspace-local instance nameresource— theresourcedocument it’s built from (ormanaged_by: provisionerif fully externally managed)role— matched against the topology type’s expected component rolescount— number of instances (default 1)depends_on[],firewalls[],subnet— workspace-specific gluingenabled— whether this instance is included in the built artifact (defaulttrue)
spec.networks[]— names ofnetworkdocumentsspec.subnets[]— subnets this workspace adds to a network it uses, without changing the network document:network(the document, listed innetworks),virtual_network(which network in that document; may be left out when it declares only one),name,prefix_length(the size; your provisioner code or an IPAM chooses the address at deploy), and optionaldescription,configuration,custom. A resource’ssubnetcan name one. See how-to/declare-subnets.mdspec.namespaces[]— names ofnamespacedocumentsspec.topology[]— inline topology groupings (type/components/namespaces/volumes) — see “Topology grouping” below. Inline since ADR-0028 (reverted from a standalonekind: topologydocument, ADR-0011) — not a list of names.spec.provisioners[]— tool definitions (ProvisionerModel):name,tool(terraform, opentofu, helm, compose, script, …; see “OpenTofu” below),source,backend(terraform and opentofu only),properties(ansible only),script(script only, see “Script provisioner” below),integration(whichintegrationdocument supplies version/auth),output(Jinja2 template escape hatch)spec.execution[]— the ordered recipe (ProvisioningStepModel):name,provisioner,resources[]/namespaces[](direct references this step acts on),topologies[](expands to that topology’s own resources/namespaces),dns_zones[]/firewalls[]/networks[](direct escape hatch for claiming one of those documents’${output:...}ownership without a resource/topology link),depends_on[]for step ordering. At least one of the six target-ish fields is required. A resource’s ownfirewalls/dns_zones/subnet.networkare claimed automatically once that resource is effectively in scope (direct or viatopologies[]) — no need to also list them directly on the step.assets[]selects the asset slots this step needs (see “Asset slots”).spec.default_tags— default cloud tags for resources created by this workspacespec.cve_policy— failbuild runwhen the SBOM’s CVE findings at or abovemax_severityexceedmax_count(scanned with Trivy or Grype)spec.checkov_policy— failbuild runon Checkov findings at or aboveseverity_gate; a finding with no severity (open-source Checkov reports none) always counts.config_filenames a Checkov config file (e.g..checkov.yaml) relative to the root of the repository each scanned provisioner or Helm module comes from;build runcopies it tocheckov-config/in the build path and passes it as--config-file. A repository without that file is handled byon_missing_data. Withoutconfig_filestrata passes none, and Checkov may still pick up a.checkov.yamlfrom the scanned directory or the directory strata runs inspec.release_gate_policy— at deploy, ask arelease_gateintegration for its verdict onrepositoryat the deployed commitspec.image_gate_policy— at deploy, count animage_findingsintegration’s open issues for every image insbom.jsonagainstmax_severity/max_countspec.image_tag_policy— failbuild runanddeploy runwhen an image the deployment runs has no tag, a floating tag such aslatest, or a tag that does not match the shape you require (see “Image tag policy” below)spec.sbom— whatbuild runadds tosbom.json.render_charts(defaulttrue) renders every Helm chart, local or pinned from a registry, withhelm templateand lists the images it deploys, so the CVE and image gates andimage_tag_policycheck them (see how-to/sbom-generation.md).render_charts: falselists only the images modules declare.spec.provisioner_lock_policy— failbuild runwhen a Terraform or OpenTofu provisioner has no.terraform.lock.hcl, or one that does not lock every provider it declares (see “Provisioner lock policy” below)spec.review— whatdeploy plan --summarycounts as needing a person’s approval:ask_for_person.destroyandask_for_person.replace(bothtrueby default) andask_for_person.patterns, shell-style patterns matched against each changed resource’s type and address (azurerm_postgresql_*,module.network.*), an update included. It never fails a command; it sets the pipeline outputrequired. Omit it to ask on every destroy and replace.review.integrationnames areviewintegration (type: claude, on Microsoft Foundry or the Claude API, ortype: copilot, through GitHub Models or the GitHub Copilot CLI) that adds an advisory, AI-written section: a risk (low,medium,high), a short summary and a note per replace or destroy. Only names are sent, never a value, after every secret value the run knows is masked.ask_for_person.ai_risk(defaulthigh,nullto never) is the AI risk that also setsrequired; the AI can add a reason, never remove one.ask_for_person.when_unavailable(continueby default, orask) says what an AI that gives no review means.review.instructionsnames a plain-text file in the solution (at most 8 KB) with your team’s guidance, added to strata’s own prompt and hashed into the review.review.readme: true(withintegration) adds an AI paragraph on what changed to the deployment README a git audit sink keeps; it sends the changed pins’ values (see configuration.md).review.explain_failures: trueexplains a failed or partialdeploy run,deploy applyordeploy destroy: the probable cause, the recorded error lines that show it and what to check, from the run’s audit record only, on the console and the job summary and kept in the record as_explain.md; it never changes the exit code.strata deploy explain DEPLOYMENTexplains a failed run afterwards, from its record in the git audit sink, with these integrations and withoutexplain_failures.review.explain_integrationnames the integration for it when it should not beintegration, for example a reasoning model for failures and a fast one for summaries. See Ask for an approval only when the plan needs one.Every policy has
enforcement(deny|warn). The CVE, Checkov and gate policies also haveon_missing_data(skip|warn|block, defaultblock);image_tag_policyandprovisioner_lock_policyhave none, because they read only the solution and the build path.strata policy listshows what a deployment’s workspace configures;strata policy checkevaluates them on demand. See how-to/security-gates.md.
Example
apiVersion: strata.huybrechts.xyz/v2
kind: workspace
meta:
name: main
spec:
providers:
- slot: azure
provider: azure-main
namespaces:
- hearth
provisioners:
- name: terraform-main
tool: terraform
source:
remote: infra
source_path: terraform/main
backend:
type: azurerm
configuration:
resource_group_name: tfstate-rg
key: ${deployment:name}.tfstate
resources:
- name: web-storage
resource: storage-account
role: control-plane
- name: web-vm
resource: linux-vm
role: worker
count: 2
execution:
- name: provision-infra
provisioner: terraform-main
resources:
- web-storage
- web-vm
topology:
- name: main-topology
type: kubernetes
components:
- resource: web-storage
- resource: web-vm
default_tags:
managed-by: strata
Terraform backend
spec.provisioners[].backend (Terraform and OpenTofu only) holds the settings strata passes to terraform init,
one -backend-config key=value each. The backend "azurerm" {} block itself stays in the Terraform code, and
type is not sent to Terraform.
The values are resolved when deploy run starts the step, so they may contain ${var:}, ${secret:},
${feature:}, ${output:STEP.KEY} and ${artifact:NAME.FIELD} tokens, and two tokens for the
deployment being run. A workspace is shared
by every deployment, so these are the way to give each deployment its own state without typing a key into every
deployment’s environment:
Token |
Value |
|---|---|
|
the deployment’s |
|
the deployment’s |
|
the deployment’s |
|
the deployment’s |
${deployment:tenant} on a deployment that has no tenant is an error (likewise a context it does not set) (strata validate reports it, and so does
deploy run), not an empty string. Any other key, such as ${deployment:workspace}, is rejected too. A
partial: true base is not judged: only the deployment that extends it is.
One rule for every deployment (Azure blob), with deployments prd-contoso and prd-acme:
backend:
type: azurerm
configuration:
resource_group_name: ${var:tf_state_resource_group}
storage_account_name: ${var:tf_state_storage_account}
container_name: tfstate
key: ${deployment:name}.tfstate # prd-contoso.tfstate, prd-acme.tfstate
A folder per tenant: a blob name may contain /. This workspace then only suits deployments that have a tenant.
key: ${deployment:tenant}/${deployment:name}.tfstate # contoso/prd-contoso.tfstate
Other backends:
backend: # S3
type: s3
configuration:
bucket: ${var:tf_state_bucket}
region: ${var:tf_state_region}
key: ${var:tf_state_prefix}/${deployment:name}/terraform.tfstate
dynamodb_table: ${var:tf_lock_table}
---
backend: # GCS takes a prefix, not a key
type: gcs
configuration:
bucket: ${var:tf_state_bucket}
prefix: ${deployment:name}
---
backend: # local state, for a development workspace
type: local
configuration:
path: .state/${deployment:name}.tfstate
Things to know:
Renaming a deployment moves its state. The new name gives a new, empty state, so a rename becomes a migration (
terraform statecommands) or is never done.Booleans. A non-string value is converted with Python’s
str()before it reaches-backend-config, so a YAMLtruebecomesTrue. Write a boolean setting as a quoted string ("true").Literal text. To keep
${deployment:name}as written, for a tool with its own${...}syntax, write$${deployment:name}.The tokens are not limited to the backend: any field strata resolves at deploy time (a module’s values, Terraform variables) can use them. They are not allowed in an
environmentstore’s ownvalue. The design, and why it is a token rather than a default key, is in deployment-tokens.md.
OpenTofu
tool: opentofu runs a root module with tofu instead of terraform. Everything above applies unchanged: the
backend settings, the strata payload and TF_VAR_<key> values, deploy plan/deploy apply with a saved plan,
deploy destroy, outputs, the provisioner lock policy, the SBOM and the Checkov policy.
provisioners:
- name: infra
tool: opentofu
integration: tofu # optional: a `type: opentofu` integration, to pin the version or the binary
source:
source_path: infra
kind: integration
meta:
name: tofu
spec:
type: opentofu
capabilities: [infrastructure]
version: ">= 1.6" # OpenTofu's own numbering, not Terraform's
Version. OpenTofu 1.6, its first stable release, or later: every command and flag strata passes exists there.
spec.versionis checked againsttofu version.Its own type. A
tool: opentofuprovisioner binds atype: opentofuintegration, and atype: terraformintegration does not runtofuthroughspec.command;strata validatereports either (provisioner_integration_type_mismatch,integration_command_other_tool). The type decides the version check, the init advice and the provider registry.Lock files.
tofu initkeys a short provider source (hashicorp/azurerm) asregistry.opentofu.org/...in.terraform.lock.hcl. The lock policy and the SBOM read the host the lock file holds, so a root locked by either tool is read correctly..tfroots only. strata reads*.tf(and*.tf.json) files to find thestratavariable, outputs and providers. OpenTofu 1.8’s*.tofufiles are run bytofubut not read by strata: declare those in.tffiles.State encryption. OpenTofu’s
encryption {}block in the root module works as is; strata does not deliverTF_ENCRYPTIONkeys.
Moving a deployment from Terraform to OpenTofu
State backends and the state format are shared, so backend does not change.
Set
tool: opentofu(andtype: opentofuon its integration, if it has one).Run
tofu initin the root module and commit the updated.terraform.lock.hcl: it adds theregistry.opentofu.orgentries. Until then the lock policy reports the providers as unlocked.Run
strata deploy planand check it shows no changes before the first apply. OpenTofu’s migration guide is per Terraform version; state written by a Terraform newer than the one OpenTofu forked from is worth checking there.Do not apply a saved plan across the switch: a
.tfplanwritten byterraformcannot be applied bytofu. Plan again after changing the tool.
Script provisioner
tool: script runs a .ps1, .sh, .bash, .py or .bat file as a step. script is required for this tool and
rejected for any other built-in one, and source is required as for every tool: source.source_path is the directory
that is materialised, and script.file is relative to it.
provisioners:
- name: secrets-script
tool: script
source:
source_path: scripts/secrets
script:
file: secrets.py
args: [--action, reload]
plan_args: [--action, plan]
destroy_args: [--action, revoke, --records, "${var:revoke_records}"]
values: [VAULT_TOKEN]
Field |
Used by |
When unset |
|---|---|---|
|
every phase |
required |
|
|
the script gets no arguments |
|
|
a preview prints |
|
|
the step cannot be destroyed, and |
|
the environment variable |
the script receives every resolved value |
Every argument can use value tokens. The path of the rendered
output.template, when the provisioner sets one, is appended toargsandplan_argsas the last argument.A script has to guard itself: strata cannot check that it changes nothing when run with
plan_args.STRATA_PHASE(plan,applyordestroy) tells it which phase it is in.valueslists keys: variables, secrets, features, and<step>.<key>outputs.STRATA_VALUESthen holds those anddeployment:nameanddeployment:tenant.strata validatereports a key nothing declares. It limitsSTRATA_VALUESonly: arguments can still use any token.A script passes values to later steps by writing a JSON object to the file named by
STRATA_OUTPUT_FILE;_sensitivelists the keys never recorded in theoutput_store.deploy applyrefuses a script step: it writes no saved plan. Usedeploy run.
A worked example, with the script, is in how-to/script-provisioner.md. The design is in script-provisioner.md.
Output store
spec.output_store (a backend type, such as azure-appconfig or azure-blob) or spec.output_store_integration
(an Integration document) keeps each step’s outputs after deploy run, so a later run can resolve
${output:STEP.KEY} for a step it does not run. spec.output_store_max_age (seconds) rejects a record older than
that; deploy run --output-max-age overrides it for one run. The backend must support compare-and-swap.
Each step has its own key,
strata/step-outputs/<deployment>/<step>, holding when it was collected and its non-sensitive values. A sensitive output is never stored. Destroy marks the step’s key as destroyed.A backend can limit the size of one key.
azure-appconfigallows 10 KB, counting the key itself;azure-blobhas no practical limit. Above 8,000 bytes,deploy runwarns (output_store_record); above the backend’s limit, the step’s outputs are not recorded anddeploy runwarns with the step, its size and the limit. A step’s deploy never fails over this. To fix it, make the largest outputs smaller, mark them sensitive, or useazure-blob.Next to it,
strata/deployment-report/<deployment>/<step>holds what onlystrata deploy outputandstrata deploy reportread: the names of the step’s sensitive outputs, thedescriptionof each output from the root module’soutputblocks, and the secrets the step used, each with its store, location,descriptionand the environment file that declares it. Never a value. Helm and Compose steps get one too (secrets only: they have no outputs).strata/deployment-audit/<deployment>holds the last successful deploy’s audit summary (who, when, the commit, the audit record’s id), whichstrata deploy reportshows at the top. Above the backend’s limit, descriptions are shortened to 200 characters, then left out (report_store_recordwarning); names are always kept.strata build runsizes this record from the rendered.tffiles and warns early (report_record_size). A failed write is a warning, never a failed deploy.strata deploy report DEPLOYMENTshows the handover document: outputs, every secret a step used by location (********for the value, always), and the images.output_storeis a prerequisite for it, as fordeploy output. A location comes from the resolver’s own settings where the deploy ran (AZURE_KEYVAULT_URL,INFISICAL_*), so it says where the deploy actually read the secret.strata deploy output DEPLOYMENT [STEP | STEP.KEY]shows the recorded outputs, liketerraform output; it needsoutput_storeand access to it, but no Terraform state. A sensitive output shows as<sensitive>. A record older thanoutput_store_max_ageis shown with a warning, not refused.Records written by strata 2.5 and earlier sit under one key per deployment,
strata/deployment-outputs/<deployment>. They are still read for a step that has no key of its own, and while that key exists each deploy updates it too, so an older strata version reading it never gets an outdated value. A later release stops both.
The design is in ADR-0036 and ADR-0057.
Image tag policy
spec.image_tag_policy is an opt-in guard rail over the images strata deploy images lists: the artifacts a
deployment reaches and the literal images of its enabled module services, each with the tag after any
version pin. Leave the field out and any tag is accepted, including none. image_tag_policy: {}
is already a useful policy: every image needs a tag, and the mutable aliases are rejected.
spec:
image_tag_policy:
enforcement: deny # deny (default) | warn
origins: [artifact] # artifact | module-service | chart; default: all three
require_tag: true # default true
reject_tags: [latest, main] # default: latest, main, master, dev, develop, staging, edge, nightly, canary
tag_pattern: '^\d+\.\d+\.\d+$' # a tag must match it (searched, so anchor it); a digest is not checked
require_pin: false # the tag must come from a kind: version pin (or --pin)
require_digest: false # the image must carry a digest (name@sha256:... or name:tag@sha256:...)
rings: [acc, prd] # only deployments whose version document is in these rings; default all
on_unknown_image: warn # a Helm module that declares no image: skip | warn (default) | block
allow:
- name: redis # as `strata deploy images` lists it, or REFERENCE/CONTAINER for a chart's image
reason: third-party image, covered by cve_policy
expires: 2026-12-31 # optional ISO date, honoured through that day
Rule |
An image fails when |
Finding code |
|---|---|---|
|
it has no tag or digest and no pin supplies one |
|
|
its tag is in the list, ignoring case |
|
|
its tag does not match the regular expression |
|
|
its tag does not come from a version pin |
|
|
it has no digest |
|
A digest (
sha256:...) is immutable, so a digest alone satisfiesrequire_tagand is never judged byreject_tagsortag_pattern. Withtag@digest(artifact), those two judge the tag part, solatest@sha256:...is still a floating tag name. Every image still has to satisfyrequire_pin, except an image a chart runs (below).A tag that merely is not a semantic version, such as a build number (
env_sbx_20260907.11), is not floating.reject_tagsis an explicit list; usetag_patternto be stricter. Setreject_tags: []to reject none.An image with no tag gets one finding, not also
image_not_pinned, unlessrequire_tagisfalse.Each finding names the image, its origin and what uses it, and says where to put the tag:
spec.pins.artifacts.<name>of a version document, orspec.pins.images.<name>for a module service.denymakes a finding an error and stops the run;warnmakes it a warning.An
allowentry exempts one image from every rule. Thereasonis required. Onceexpireshas passed, the entry no longer exempts the image and the finding says so.A deployment whose version document has a ring outside
ringsis not judged, and reports one info finding. A deployment with no ring is always judged. A workspace is shared by every ring of a product, soringsis how acc and prd can be strict while dev floats.
Where it runs:
Command |
Behavior |
|---|---|
|
Judged at the end, after |
|
Judged again before any value is resolved, because |
|
The policy replaces the plain missing-tag warning, and |
|
Evaluates it offline and records the result. With a build at |
|
Not evaluated: the effective tag depends on the deployment and on |
The result is recorded in policy_results.json as image_tag_policy and ends up in the audit manifest. The
deploy run entry replaces the one build run wrote. Because build run judges at the end, a pipeline that
wants the answer before it clones and renders runs strata deploy images or strata policy check first.
The policy judges the images strata knows. For a Compose module and for an artifact that is what runs. For a Helm
module, strata does not write a service’s image into the chart’s values, so the chart decides what runs. Set a
Helm image through the module’s configuration, in the chart’s own key shape. See
helm-image-delivery.md.
With
sbom.render_charts, on by default, the policy also judges every image the rendered charts run, sidecars and init containers included, read from the build’ssbom.json. That is originchart; a workspace that listsoriginsmust addchartto get them.Each is named
REFERENCE/CONTAINER, the module reference in the namespace and the container, for examplewhoami/shipper. That is the name anallowentry uses.require_pindoes not apply: strata cannot pin an image inside a chart. The chart’s version pin fixes it.The fix the finding gives is to set the tag in the chart’s values through the module’s
configuration, or to pin a chart version that ships the tag you want.A declared image the chart also runs is judged once, as delivered. A Helm module whose chart rendered at least one image is no longer reported by
on_unknown_image.One info line,
image_tag_policy_rendered_images, says how many images came from whichsbom.json, and when it was written. At deploy and inpolicy checkthat tells you which build was judged.strata deploy imagesreads no build, so it still judges the declared images only.
A declared Helm image is still judged, by the same rules. With
render_charts: false, or when the chart was not rendered, its finding says “declared only, the chart decides which image runs”.strata deploy imagesshows it asDELIVERED no (helm module: the chart decides).A Helm module that declares no service
imageorartifacthas images that only the chart knows.on_unknown_imagedecides what happens, apart fromenforcement. The finding isimage_unknown_to_strata.warn(the default) reports it.blockstops the run.skipkeeps it as an info finding, shown only in verbose and JSON output.
The policy’s
ringsandoriginsapply: the module counts as amodule-serviceimage.allowdoes not exempt a module. To have its images judged, declare them under the module’sservices.Without a policy,
strata deploy imagesstill lists such a module under “Known only to Helm”.
Provisioner lock policy
Terraform records the provider versions it chose in .terraform.lock.hcl, next to the root module’s *.tf files.
strata reads that file to list each provider in sbom.json at its real version; without it a provider is listed
without a version, or not at all when the code uses it without declaring it in required_providers, and a scanner
cannot check it. build run then prints an info line naming the folder and the providers, and never fails.
spec.provisioner_lock_policy makes a missing or incomplete lock file a finding:
spec:
provisioner_lock_policy:
enforcement: deny # deny (default) | warn
rings: [acc, prd] # only deployments whose version document is in these rings; default all
allow:
- provisioner: legacy-infra # a name in spec.provisioners
reason: vendored root, providers pinned exactly in required_providers
expires: 2026-12-31 # optional ISO date, honoured through that day
Every
terraformandopentofuprovisioner this build materialised is judged, against the lock file in its source folder. Child modules are covered by that file.It fails when the source needs providers (it declares
required_providersanywhere, or its root has aprovider,resource,dataormoduleblock) and the lock file is missing, or when the lock file does not lock a declared provider. Both are findingprovisioner_lock_missing, which names the providers and says to runterraform initand commit the lock file.A root with only outputs and locals has nothing to lock and passes.
denymakes the finding an error and failsbuild run(exit 3);warnmakes it a warning. With the policy set, theinfoline is not printed.allowexempts a provisioner and needs areason;ringsworks as for the image tag policy. Anallowentry that names no declared provisioner fails validation.
Command |
Behavior |
|---|---|
|
Judged after the SBOM, beside |
|
Evaluates it offline against |
|
Not evaluated: deploy uses the built sources. |
|
Not evaluated: remote sources are not materialised yet. |
The result is recorded in policy_results.json as provisioner_lock_policy and ends up in the audit manifest. The
design is in provisioner-lock-policy.md.
Provider slots
A spec.providers[] entry is a named slot with a default provider document:
providers:
- slot: azure # stable key — IaC code addresses strata.providers.azure
provider: azure-main # default Provider document (westeurope)
- azure-shared # bare name = slot and document share the name
slotis unique within the workspace; two slots may point at the same document.A bare string is shorthand for
{slot: <name>, provider: <name>}, so a workspace that never rebinds anything reads exactly as before and keeps itsstrata.providers.<name>keys.The same workspace can target another region or account without its IaC code changing: a
deploymentrebinds the slot (spec.providers[]there). Prefer an explicit slot name (azure) over one named after a specific region’s document (azure-main) when you expect to rebind — otherwisestrata.providers.azure-mainwould silently point at another region.
Asset slots
A spec.assets[] entry is a named slot with a default asset document, and an
execution step selects the slots it needs:
assets:
- slot: api # stable key — steps select it, IaC code reads local.strata_assets.api
asset: api-default # default Asset document
- openapi # bare name = slot and document share the name
execution:
- name: publish_api
provisioner: terraform_apim
resources: [apim]
assets: [api] # selects the slot
slotis unique within the workspace; two slots may point at the same document. A step selects a slot, never a document name directly.A bare string is shorthand for
{slot: <name>, asset: <name>}, so a workspace that never rebinds anything reads exactly as before.Only slots a step selects are materialised and projected, so an unused slot costs nothing.
A
deploymentrebinds the slot to another asset document, so one workspace can serve many customers whose files live in different repositories.
Topology grouping
Each spec.topology[] entry is a named grouping of resources and namespaces that conceptually
belong together (e.g. “the AKS cluster + its blob store + its key vault”) — for documentation,
diagramming, and workload placement. It deliberately carries no provider/provisioner binding —
which tool builds/deploys these resources is a separate concern (spec.execution/provisioners
above): a single provisioner can span several groupings, and a single grouping can be built by
several different provisioners acting on different subsets of it (ADR-0011).
name— unique grouping name within this workspacetype— the topology type (must match a topologyconfig.md document’smeta.name)components[]— each{resource, modules}: a reference to this workspace’s ownspec.resources[].name(checked at Phase 1 — only possible because the grouping is inline now, ADR-0028), optionally with application code (modules[], same shape as namespace.md’s module references) attached directly to that resource (e.g. an Azure Function App’s code onto its Function App resource)namespaces[]— each{namespace}: a reference to this workspace’s ownspec.namespaces[]volumes[]— topology-level storage volumes
When multiple modules are attached to one component and more than one is enabled, exactly one
must be marked as the main slot.
Notes
Three sibling keys answer three different questions:
providers(where — which account, as rebindable slots),provisioners(with what — tool definitions),execution(what runs, in what order).executionnames steps ordered bydepends_on, not a numericpriority(ADR-0011) —strata deploy runexecutes steps in that dependency order.A
deployment’sstages[]referenceexecution[].namefor runtime parameters (timeouts, health checks, enabled/disabled) — they never redefine what runs.