Skip to content

refactor: add variable for qemu_agent #5

refactor: add variable for qemu_agent

refactor: add variable for qemu_agent #5

Workflow file for this run

---
name: tf-lint
on:
push:
branches:
- master
- main
pull_request: {}
workflow_dispatch: {}
permissions:
contents: read
jobs:
trivy:
name: trivy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Trivy vulnerability scanner in fs mode
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
scan-ref: '.'
scanners: 'vuln,misconfig,secret'
checkov:
name: checkov
runs-on: ubuntu-latest
container: ghcr.io/soerenschneider/terraform-tools:latest
steps:
- uses: actions/checkout@v4
- name: checkov
run: checkov -d .
fmt:
name: fmt and validate
runs-on: ubuntu-latest
container: hashicorp/terraform:latest
steps:
- uses: actions/checkout@v4
- name: fmt
run: terraform fmt -recursive -check
- name: validate
run: |
terraform -chdir=envs/vserver.dd.soeren.cloud init -backend=false
terraform -chdir=envs/vserver.dd.soeren.cloud validate
terraform -chdir=envs/vserver.ez.soeren.cloud init -backend=false
terraform -chdir=envs/vserver.ez.soeren.cloud validate
terraform -chdir=envs/vserver.pt.soeren.cloud init -backend=false
terraform -chdir=envs/vserver.pt.soeren.cloud validate
tflint:
name: tflint
runs-on: ubuntu-latest
container: ghcr.io/soerenschneider/terraform-tools:latest
steps:
- uses: actions/checkout@v4
- name: tflint
run: tflint --recursive