/azure-sap-automation:sdaf-workload-zonefrom azure-sap-automation
Deploys an SDAF workload zone (landscape network, peering, zone Key Vault) after the control plane exists. Drives install_workloadzone.sh, reviews the plan, and validates state. Handles private-endpoint and subnet-policy conflicts.
Ships in azure-sap-automation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Action-loop skill. Deploys the workload zone per
docs/local/04-00-workload-zone.md. Canonical owner of workload-zone
private-endpoint / subnet-policy decisions — the failure-triage skill
routes those symptoms here.
Trigger on: "deploy a workload zone", "deploy the landscape", "run install_workloadzone.sh", "workload-zone Key Vault", "workload-zone private endpoint failure", "workload-zone subnet policy failure".
Do NOT trigger on: control plane, SAP system, install, removal.
docs/local/04-00-workload-zone.md § Before you begin; the WZ reads control-plane / deployer state per
§ What the automation does).sdaf-workspace-and-tfvars (§ Configuration preparation, § Inputs).§ Before you begin) — see sdaf-readiness-check.Re-read the landscape tfvars once and cross-check network, storage, Key
Vault, and peering
(docs/local/04-00-workload-zone.md § Review before execution).
From the landscape parameter directory, exactly per
docs/local/04-00-workload-zone.md § Run:
set -e
cd "$CONFIG_REPO_PATH/WORKSPACES/LANDSCAPE/<WORKLOAD_ZONE>-INFRASTRUCTURE"
"$SAP_AUTOMATION_REPO_PATH/deploy/scripts/install_workloadzone.sh" \
--parameterfile "<WORKLOAD_ZONE>-INFRASTRUCTURE.tfvars" \
--control_plane_name "<CONTROL_PLANE>" \
--deployer_tfstate_key "<DEPLOYER_STATE_KEY>" \
--storageaccountname "<STATE_STORAGE_ACCOUNT>" \
--state_subscription "<STATE_SUBSCRIPTION_ID>" \
--subscription "<WORKLOAD_SUBSCRIPTION_ID>" || {
rc=$?
echo "workload-zone exit=$rc — route to sdaf-failure-triage"
exit "$rc"
}
Run from the directory that contains the tfvars; pass the basename only
(docs/local/troubleshooting.md § A parameter file is not found).
docs/local/04-00-workload-zone.md § Validate and § Outcome:
.tfvars and backend metadata written to the state
account's tfvars container (§ What the automation does).§ Outcome).Canonical owner. The failure-triage skill routes any workload-zone private-endpoint or subnet-policy failure here rather than restating the fix inline.
Decision boundary — apply on every occurrence, do not shortcut:
docs/local/04-00-workload-zone.md § Configuration preparation for
the current documented setting names, allowed values, and the specific
cloud / condition under which the doc prescribes a change. Treat that
section as the source of truth — it may evolve; this skill deliberately
does not restate the setting name, allowed values, or the exact error
string, so it cannot go stale against the doc.If the log's error text, the tfvars values, and the doc section do not line up cleanly, say docs are silent on the specific combination and stop. Do not synthesize a fix from analogous settings elsewhere.
Route to sdaf-failure-triage, which walks the full symptom map. The
workload-zone-owned preventive checks that stay here rather than in
triage:
docs/local/troubleshooting.md § A parameter file is not found).--auto-approve
(docs/local/04-00-workload-zone.md § Review before execution).--force casually
(docs/local/04-00-workload-zone.md § Safe retry).terraform fmt and follow the
Terraform / Ansible / Python guidance in
.github/copilot-instructions.md.sdaf-control-plane-bootstrap, sdaf-workspace-and-tfvars,
sdaf-sap-system, sdaf-state-management, sdaf-failure-triage.docs/local/04-00-workload-zone.md, docs/local/troubleshooting.md,
.github/copilot-instructions.md.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
18 skills in this plugin
/sdaf-bom-selectionPick the right SDAF BOM for a target SAP product / release / DB platform / version / kernel / topology. Explains where BOMs live in the samples repo (`SAP/` for whole products, `BOM/` for components), decodes the `ms`, `v####`, and `latest` suffix conventions, points at the compatibility guardrails (`supportedPlatforms`, `supportedDBVersions`, `supportedKernels`), and reminds the operator that the download flow needs four explicit BOM keys in `sap-parameters.yaml`. Use when a user says "which BOM do I use", "product BOM vs component BOM", "SAP samples BOM catalog", "BOM_CATALOG", "S4/2023 BOM", "HANA BOM", or "how do I pick a BOM for HANA/Oracle/DB2/ASE". Do NOT use to author a new BOM, to acquire media (`sdaf-media-acquisition`), or to troubleshoot a checksum / 404 (`sdaf-media-diagnostics`).
/sdaf-control-plane-bootstrapDeploy the SDAF control plane locally: prepare DEPLOYER and LIBRARY tfvars, review the plan, run `deploy_controlplane.sh` per `docs/local/03-00-control-plane.md § Run`, and validate the deployer + library + state hand-off. Grounded in `docs/local/03-00-control-plane.md`. Use when a user says "deploy the SDAF control plane", "run deploy_controlplane.sh", "bootstrap SDAF from an empty subscription", "install the deployer" or "create the SAP library". Do NOT use for workload zone (see sdaf-workload-zone), SAP system (see sdaf-sap-system), removal (`sdaf-safe-removal`), or Azure Government / sovereign-cloud deltas (`sdaf-sovereign-cloud`).
/sdaf-failure-triageTriage a failed or suspicious SDAF run: distinguish a real failure from a green no-op or a clean plan reported as failure, map the observed symptom to a documented cause in `docs/local/troubleshooting.md`, and hand off to the stage-owning skill for retry. Use when a user says "SDAF run failed", "my deploy exited non-zero", "the plan was clean but exit 1", "the run said success but nothing was deployed", "state lock error", "unexpected replacement", "control plane stopped partway", "generated hosts.yaml missing", "workload-zone private endpoint failure", "workload-zone subnet policy failure", or "SDAF exit 2". Do NOT use to actually deploy or to redesign the workspace layout.
/sdaf-ha-diagnosticsDiagnose a live or recently failed SDAF high-availability cluster without changing cluster state. Start read-first: capture `crm status full` or `pcs status --full`, inspect SBD or fencing evidence, confirm current resource placement, and reuse existing quality-assurance or HCMT artifacts. Grounded in `docs/local/07-10-quality-assurance.md`, the shipped Pacemaker role vars/tasks, and the SAP Automation QA setup role. Use when a user says "diagnose my HANA failover", "crm status", "pcs status", "check fencing", "why is the SCS/ERS cluster unhealthy", "offline_validation/cib", or "review an HCMT result zip". Do NOT use for pre-deploy topology or design choices (see `sdaf-ha-topology`), fresh installation/deploy, or disruptive failover/fencing exercises (see `sdaf-quality-assurance`).
/sdaf-ha-topologyChoose the documented SDAF high-availability design before SAP-system deployment. Use when a user asks which HA topology to deploy, whether to use AFA or SBD, AFS or ANF, HANA scale-up or scale-out, whether ANGI is allowed, or which HA inputs must be set before deployment. Ground answers in the current support matrix, Ansible roles, sample tfvars, and validation logic. Do NOT use for live cluster diagnosis (sdaf-ha-diagnostics) or for running the installers (sdaf-sap-installation).
/sdaf-media-acquisitionAcquire approved SAP media into the SDAF library after SAP-system infrastructure exists. Drives local `deploy/ansible/download_menu.sh` per `docs/local/06-00-software-and-installation.md § Download software`, enforces the documented `BOM_CATALOG` root and the four required `sap-parameters.yaml` BOM keys (`application_bom_name`, `database_bom_name`, `sap_kernel_bom_name`, `save_bom_as`), and explains the documented download and validation flow. Use for "download SAP media", "run download_menu.sh", "acquire software into the library", "BOM Downloader", "BOM_CATALOG", or "assemble application/database/kernel BOMs for download". Do NOT use to choose a BOM, troubleshoot a failed download, or run installation playbooks.
npx claudepluginhub azure/sap-automation --plugin azure-sap-automationOther plugins' skills for the same job