What’s in the audit stack
The audit stack describes the same application infrastructure as the deployment stack, but with the Tensor9 runtime plumbing stripped out:- No Tensor9 Terraform provider
- No Tensor9 runtime links or reflection resources
The audit stack is intended for review only. Do not
apply it. The deployment stack is what actually provisions a working appliance - the audit stack is a companion artifact for inspection.How it’s produced
Audit stack compilation happens automatically as part oftensor9 stack release create. No extra flags or configuration are required. If audit stack compilation fails for any reason, the release itself is not blocked - the deployment stack is still produced.
Audit stacks are currently produced for Terraform and OpenTofu origin stacks.
Where the audit stack lands
Whentensor9 stack release create finishes, it writes the audit stack to disk alongside the deployment stack, under a directory named after the target appliance:
tofu init / tofu apply. The .audit directory mirrors it for inspection.
Review workflow
A typical pre-deployment review loop:Create the release
Creating a release for an appliance also writes the compiled deployment and audit stacks to the local filesystem:This produces both the deployment and audit directories for the customer’s appliance.
Inspect the audit stack
Point your existing IaC review tooling at the Because the audit stack has no Tensor9 providers or runtime plumbing, these tools can plan and scan it standalone and see exactly the resources your customer will be asked to host.
.audit directory. For example:Hand off for customer review
Share the
.audit directory with your customer’s security or platform team. They can run it through their own review pipeline - including tools like Atlantis or Spacelift - without any Tensor9-specific context.Related
- Deployment stack - the artifact that actually gets applied
- Origin stacks - the source that the compiler transforms
- Deployments - end-to-end release and deploy workflow
- Atlantis and Spacelift - gating deployments on IaC review