Skip to content

Commit 255ecee

Browse files
committed
updated
Signed-off-by: Mark Bolwell <[email protected]>
1 parent ca27666 commit 255ecee

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,15 @@ This enables us to manage the workflow and IAC centrally, enabling us to quickly
4141
O -->|sleep 60 seconds|P[If Debug variable set output ansible hosts]
4242
P --> Q[Runs ansible playbook] --> |terraform destroy|R[Destroys all the IaC config]
4343
```
44+
45+
# Run locally
46+
47+
```shell
48+
$ export benchmark_type="CIS"
49+
$ export OSVAR="RHEL8"
50+
$ export TF_VAR_repository="${OSVAR}-${benchmark_type}"
51+
$ export TF_VAR_benchmark_type="${benchmark_type}"
52+
53+
$ terraform apply -var-file "github_vars.tfvars" -var-file "${OSVAR}.tfvars"
54+
$ terraform destroy -var-file "github_vars.tfvars" -var-file "${OSVAR}.tfvars"
55+
```

0 commit comments

Comments
 (0)