Skip to content

feat: add import identity for cloudfoundry_user and cloudfoundry_user_cf #50

feat: add import identity for cloudfoundry_user and cloudfoundry_user_cf

feat: add import identity for cloudfoundry_user and cloudfoundry_user_cf #50

name: Terraform Format Check
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
workflow_dispatch:
jobs:
terraform-fmt:
name: Validate Format of Terraform Files
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_wrapper: false
- name: Validate Terraform format
shell: bash
run: |
EXIT_CODE=0
echo "Checking format of $file with terraform fmt"
terraform -chdir='./examples' fmt -check -recursive -no-color || EXIT_CODE=$?
echo "Result is $EXIT_CODE"
exit $EXIT_CODE