Skip to content

vpn_gateway multiple usage. #7

vpn_gateway multiple usage.

vpn_gateway multiple usage. #7

Workflow file for this run

name: validate
on:
pull_request_target:
types: [opened, synchronize]
permissions: read-all
jobs:
tf-lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v3
- uses: terraform-linters/setup-tflint@v2
name: Setup TFLint
- name: Show version
run: tflint --version
- name: Init TFLint
run: tflint --init
- name: Run TFLint
run: tflint
tf-fmt:
name: Code Format

Check failure on line 26 in .github/workflows/validate.yml

View workflow run for this annotation

GitHub Actions / validate

Invalid workflow file

The workflow is not valid. .github/workflows/validate.yml (Line: 26, Col: 5): Required property is missing: runs-on
steps:
- uses: actions/checkout@v3
- uses: hashicorp/setup-terraform@v2
- run: terraform fmt --recursive -check=true
tf-validate:
name: Validate
runs-on: ubuntu-latest
container:
image: hashicorp/terraform:latest
steps:
- uses: actions/checkout@v3
- name: Validate Code
env:
AWS_REGION: us-east-1
TF_WARN_OUTPUT_ERRORS: 1
run: |
terraform init
terraform validate
- name: Validate Examples
run: |
for example in $(find examples -maxdepth 1 -mindepth 1 -type d); do
cd $example
terraform init
terraform validate
cd -
done