Skip to content

Add "Configuring the PingOne Self-Service Application" example #68

Add "Configuring the PingOne Self-Service Application" example

Add "Configuring the PingOne Self-Service Application" example #68

Workflow file for this run

name: Terraform Code Check
on:
pull_request:
paths:
- '**.tf'
- '.github/workflows/tf-check.yml'
- 'makefile'
push:
paths:
- '**.tf'
- '.github/workflows/tf-check.yml'
- 'makefile'
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Terraform init
run: |
for dir in $(find ./examples -maxdepth 0); do
echo ${dir} ;
[ -d "${dir}/" ] && terraform -chdir=${dir}/ init ;
done
- name: validate
run: |
make validate
fmt:
needs: [validate]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: fmt-check
run: |
make fmt-check
tflint:
needs: [validate]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: terraform-linters/setup-tflint@v3
name: Setup TFLint
with:
tflint_version: latest
- name: tflint
run: |
make tflint
tfsec:
needs: [validate]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: tfsec
uses: aquasecurity/[email protected]