Governance Transforms Terraform Export Values - Azure/az-prototype GitHub Wiki

Terraform Export Values

Ensure all azapi_resource blocks have response_export_values

Domain: iac


Checks (1)

Check Description
TFM-TF-002 Add response_export_values = ["*"] to azapi_resource blocks that are missing it

TFM-TF-002

Add response_export_values = ["*"] to azapi_resource blocks that are missing it

Rationale: The azapi provider requires response_export_values to return any output data. Without it, .output is empty and all downstream references fail silently. This is the most common generation fabrication — the AI omits it on 25-30% of resources.
Agents: terraform-agent

Targets

All

Type: Structured
Search: 'azapi_resource without response_export_values'
Replace: 'added response_export_values = ["*"]'
Handler: add_response_export_values


⚠️ **GitHub.com Fallback** ⚠️