ztc-skill
Installation
SKILL.md
Zscaler Zero Trust Cloud (ZTC) Skill
Diagnose-first guidance for end users writing Terraform HCL that consumes the zscaler/ztc provider. ZTC is the Zscaler Zero Trust Cloud product (formerly Cloud Branch Connector — the rebrand affects branding only; resource names still use ztc_ and the API path remains /cloud-branch-connector). This skill does not cover provider Go code.
Canonical source of truth for resource/data-source schemas: https://registry.terraform.io/providers/zscaler/ztc/latest/docs.
Response Contract
Every ZTC HCL response must include:
- Assumptions & version floor —
zscaler/ztcprovider version (~> 0.1.xis current; the provider is pre-1.0), Terraform/OpenTofu version, auth mode (ASK if not stated — provider supports both OneAPI and legacy v3 as first-class options), cloud target (only set if non-default), and whether the configuration creates or modifies any resource (which makes activation mandatory). - Risk category addressed — one or more of: auth misconfiguration, resource catalog mismatch (including data-source-only objects), rule ordering, activation forgotten, drift, secret exposure, or cloud-orchestrated-resource confusion (treating a data source as a resource).
- Chosen approach & tradeoffs.
- Validation plan —
terraform fmt -check,terraform validate,terraform plan -out=tfplan, plus aztc_activation_statusstep if any resource is created/modified (changes are draft until activated). - Rollback notes — never
terraform state rma ZTC resource backed by a real API object.
The provider is pre-1.0 (~> 0.1.x). Surface this in the assumptions: schemas may change between minor releases. Pin to the exact patch version in production until 1.0 ships.