Refactor sectool usage in workflows to include configuration file and remove redundant sectool.json files
This commit is contained in:
@@ -33,7 +33,7 @@ jobs:
|
||||
BW_ACCESS_TOKEN: ${{ secrets.BW_ACCESS_TOKEN }}
|
||||
run: |
|
||||
cd terraform/aws-iac
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user