The audit stack is for your customer to read, and it contains no analysis of its own: no findings, no pass or fail, no adaptation report. To find out what in your stack will and will not adapt onto a target cloud, compile it with
tensor9 compile, which reports every issue by severity without deploying anything.What’s in the audit stack
The audit stack describes the same application infrastructure as the deployment stack, but with the Tensor9 BYOC runtime plumbing stripped out:- No Tensor9 BYOC Terraform provider
- No Tensor9 BYOC 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:1
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.
2
Inspect the audit stack
Point your existing IaC review tooling at the Because the audit stack has no Tensor9 BYOC 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:3
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 BYOC-specific context.4
Apply the deployment stack
Once review is complete, apply the deployment stack (not the audit stack):
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