Slightly odd question, but does anyone have any sort of script that can take a state file, and tell you how many resources are in it? I know I could do this with the preview command but for various reasons I won't go into, I can't run that
l
lively-crayon-44649
05/30/2024, 1:16 PM
Assuming you mean an exported state file in JSON format, you might be able to do it with e.g. `jq`: