Fix RAM share creation when a targetted OU contains inactive accounts… #64
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Lint and validate Terraform | |
| on: | |
| push: | |
| paths: | |
| - "**/*.tf" | |
| - ".github/workflows/lint-and-validate-terraform.yml" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| checks: write | |
| jobs: | |
| terraform_validation: | |
| name: Terraform Lint and Validate | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - name: Harden the runner (audit all outbound calls) | |
| uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2 | |
| with: | |
| egress-policy: audit | |
| - name: Checkout repository | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4.4.2 | |
| - name: Install Terraform | |
| uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2 | |
| with: | |
| terraform_version: 1.9.0 | |
| - name: terraform fmt -check=true -recursive | |
| run: terraform fmt -check=true -recursive | |
| - name: terraform init -backend=false | |
| run: terraform init -backend=false | |
| - name: terraform validate | |
| run: terraform validate | |
| call_tflint_workflow: | |
| name: Run TFLint | |
| needs: terraform_validation | |
| uses: ./.github/workflows/tflint.yml |