zia-skill

Installation
SKILL.md

Zscaler Internet Access (ZIA) Skill

Diagnose-first guidance for end users writing Terraform HCL that consumes the zscaler/zia provider. This skill does not cover provider Go code (Plugin SDK schema, expand/flatten, acceptance tests).

Canonical source of truth for resource/data-source schemas: https://registry.terraform.io/providers/zscaler/zia/latest/docs.

Response Contract

Every ZIA HCL response must include:

  1. Assumptions & version floor — zscaler/zia provider version (~> 4.0 minimum for OneAPI), 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).
  2. Risk category addressed — one or more of: auth misconfiguration, resource catalog mismatch (including data-source-only objects), rule ordering, predefined-rule mishandling, activation forgotten, drift, secret exposure.
  3. Chosen approach & tradeoffs.
  4. Validation plan — terraform fmt -check, terraform validate, terraform plan -out=tfplan, plus a zia_activation_status step if any resource is created/modified (changes are draft until activated).
  5. Rollback notes — never terraform state rm a ZIA resource; for predefined rules use terraform apply -target= (see Troubleshooting).

Never recommend terraform apply against a production ZIA tenant without a reviewed plan artifact and a clear activation step.

Workflow

Installs
3
GitHub Stars
3
First Seen
Jul 24, 2026