ic check
Check whether two snapshots are identical.
Syntax
ic check [--proposal FILE|-] [--baseline FILE|-]
Options
--proposal FILE|-Read the resolved snapshot from somewhere other thanactual.json.--baseline FILE|-Read the approved snapshot from somewhere other thancanon.json.
Behavior
- Prints
ok (0)when nothing drifted. - Prints
drift (N)whenNfacts drifted. - Exits
0for no drift and1for any drift.
This is the command you want in CI.