Closed sebastianczech closed 11 months ago
/help
Currently supported commands include:
/sca
- run all SCA tests via pre-commit
/validate
- run terraform validate
/plan
- plan the infrastructure (only examples)/apply
- deploy the infrastructure and destroy afterwards (only examples)/idempotence
- test idempotence: deploy, plan and destroy afterwards (only examples).The 1st command does not take arguments, the remaining take two:
paths
- a space delimitied list of module pathstf_version
- (optional, defaults to the latest available) a space delimited list of Terraform versions to test the infrastrucure against.Examples:
# run idempotence tests on listed modules with Terraform versions: 1.2 (latest patch available), 1.4 (latest patch available), 1.5.4.
/idempotence paths="examples/combined_design examples/panorama_standalone" tf_version="1.2 1.4 1.5.4"
# run validation tests with the latest available Terraform version on listed modules.
/validate paths="modules/vmseries modules/vpc examples/combined_design"
Description
PR delivers:
CKV2_GHA_1
- in file.github/workflows/help-command.yml
there was missingpermissions
(based on https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs)CKV_GHA_7
- for ChatOps by design workflow_dispatch CANNOT be empty (we are passing what commands are executed by ChatOps).Motivation and Context
414
How Has This Been Tested?
Code was tested by locally running
pre-commit
.Types of changes
Checklist