Governance Transforms Terraform Export Values - Azure/az-prototype GitHub Wiki
Ensure all azapi_resource blocks have response_export_values
Domain: iac
| Check | Description |
|---|---|
| TFM-TF-002 | Add response_export_values = ["*"] to azapi_resource blocks that are missing it |
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
All
Type: Structured
Search: 'azapi_resource without response_export_values'
Replace: 'added response_export_values = ["*"]'
Handler: add_response_export_values