Skip to content

Add aws_s3_bucket_ownership_controls resource for bucket #87

Add aws_s3_bucket_ownership_controls resource for bucket

Add aws_s3_bucket_ownership_controls resource for bucket #87

Workflow file for this run

name: Validate
on: pull_request
jobs:
validate_terraform_versions:
runs-on: ubuntu-20.04
strategy:
matrix:
terraform_version:
- "0.15.5"
- "1.0.11"
- "1.1.9"
- "1.2.2"
defaults:
run:
working-directory: _test
steps:
- uses: actions/checkout@v3
- uses: hashicorp/setup-terraform@v2
with:
terraform_version: ${{ matrix.terraform_version }}
- run: terraform init
- run: terraform validate
validate: # this is a workaround, see https://github.community/t/status-check-for-a-matrix-jobs/127354/6
if: ${{ always() }}
needs: [validate_terraform_versions]
runs-on: ubuntu-20.04
steps:
- name: Check build status of all needed jobs
if: ${{ needs.validate_terraform_versions.result != 'success' }}
run: exit 1