feat: added caching to aws region query

This commit is contained in:
KenF
2026-01-23 10:23:45 +08:00
parent c047662f78
commit a39c39a636
18 changed files with 91 additions and 79 deletions
+5 -1
View File
@@ -1,8 +1,12 @@
#!/bin/bash
rm -f aws-inventory.xlsx
# Remove previous inventory and cache file
rm -f aws-inventory.xlsx cache.pkl
# Create a new workbook
./init_workbook.py
# Execute individual inventory scripts
for i in aws*.py; do
echo "# $i"
./"$i" | mlr --c2t cat | column -t