Refactor sectool usage in workflows to include configuration file and remove redundant sectool.json files

This commit is contained in:
2025-03-22 13:06:35 +01:00
parent 51d6229b03
commit 2657388998
13 changed files with 32 additions and 52 deletions
@@ -51,7 +51,7 @@ jobs:
BW_ACCESS_TOKEN: ${{ secrets.BW_ACCESS_TOKEN }}
run: |
cd terraform/k8sapps
sectool exec terraform init
sectool exec terraform validate
sectool exec terraform fmt -check
sectool exec terraform plan
sectool -f ../../sectool.json exec terraform init
sectool -f ../../sectool.json exec terraform validate
sectool -f ../../sectool.json exec terraform fmt -check
sectool -f ../../sectool.json exec terraform plan