tomswallapi_device_config data source + rule fanout preview
#11
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem. DESIGN.md §10 lists a rendered-config preview data source and a
"which devices does this intent touch" fanout preview surfaced in plan;
neither exists in the provider. For a firewall control plane, seeing the
concrete per-device delta before apply is the single most important safety
feature — the equivalent of reading shorewall's generated script before
restart. I'd rank this above adding further resource types.Proposal.
data "tomswallapi_device_config" "fw_a"returning the renderedtomswall.yamlfor a device at the current model state, so plan outputdiffs it.
tomswallapi_rulelisting enforcing devices,so plan shows blast radius.