xyops_config: import as "global", destroy only forgets; read-only lookup data sources #10
Loading…
Reference in a new issue
No description provided.
Delete branch "refs/pull/10/head"
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?
Batch 4 of the provider gap fixes.
xyops_configglobal; the livejob_universal_actionsare read, so a matching config plans empty. Other IDs are refused.tofu destroyor dropping the resource from config silently removed every global job action.New read-only data sources (by ID):
xyops_event,xyops_web_hook,xyops_category,xyops_plugin,xyops_monitor,xyops_role,xyops_secret, and the singletonxyops_config. Each returnstitle,enabledand the full object as sortedjson(decode withjsondecode()).xyops_web_hookremovesurl,headersandbody(often credentials or{{ secrets.* }}).xyops_secretusesget_secretonly (names and assignments); neverdecrypt_secret; stripsfields/value/values/datadefensively.Tests: other config import IDs refused; config delete makes zero API calls; import -> no-op plan -> removal from config sends no
admin_update_config; all 8 lookups read-only with a marker asserting no redacted value reaches state; missing object errors. Localcheck.sh: provider and client tests pass, govulncheck 0 reachable.john/ops impact: none required. ops does not manage
xyops_configand uses no data sources. To release, merge this and then a VERSION0.1.2-dev.5PR.