Skip to content

Merge pull request #67 from opzkit/fix-image-defaults #246

Merge pull request #67 from opzkit/fix-image-defaults

Merge pull request #67 from opzkit/fix-image-defaults #246

Workflow file for this run

name: Build
on: [ push, workflow_dispatch ]
jobs:
examples:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
tf-version: [ 1.3.1, 1.3.2 ]
steps:
- name: Install terraform v${{ matrix.tf-version }}
run: |
curl -LO https://releases.hashicorp.com/terraform/${{ matrix.tf-version }}/terraform_${{ matrix.tf-version }}_linux_amd64.zip
unzip terraform_${{ matrix.tf-version }}_linux_amd64.zip
sudo mv terraform /usr/local/bin
rm *
- name: Checkout code
uses: actions/checkout@v4
- name: Validate examples terraform v${{ matrix.tf-version }}
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: make examples
build:
needs: [examples]
runs-on: ubuntu-latest
steps:
- run: echo "OK"