Fix dependency CVEs in gha-artifacts and usage-log-aggregator lambdas… #2306
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: Windows AMI Packer config Validation | |
| # Validates the Packer configuration for the Windows AMI | |
| on: | |
| pull_request: | |
| paths: | |
| - aws/ami/windows/** | |
| - .github/workflows/windows-ami-validation.yml | |
| push: | |
| branches: | |
| - main | |
| # Have the ability to trigger this job manually through the API | |
| workflow_dispatch: | |
| env: | |
| PACKER_VERSION: "1.11.0" | |
| jobs: | |
| validate-packer: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Setup `packer` | |
| uses: hashicorp/setup-packer@76e3039aa951aa4e6efe7e6ee06bc9ceb072142d # main | |
| id: packer-setup | |
| with: | |
| version: ${{ env.PACKER_VERSION }} | |
| - name: Run `packer init` | |
| id: packer-init | |
| working-directory: ./aws/ami/windows | |
| run: "packer init ." | |
| - name: Run `packer validate` | |
| id: packer-validate | |
| working-directory: ./aws/ami/windows | |
| run: "packer validate ." |