chore(deps): update terraform aws to v5.81.0 #368
Workflow file for this run
This file contains 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: QA | |
on: | |
push: | |
branches: | |
- main | |
- renovate/* | |
permissions: | |
contents: read | |
id-token: write | |
env: | |
# renovate: datasource=github-releases depName=hashicorp/terraform versioning=hashicorp | |
TERRAFORM_VERSION: "1.10.2" | |
jobs: | |
qa: | |
name: QA | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3 | |
with: | |
terraform_version: ${{ env.TERRAFORM_VERSION }} | |
- name: Format Checkout | |
run: terraform fmt -check -diff -recursive terraform | |
- name: Run tflint | |
run: | | |
podman run --rm -v $(pwd):/data -t ghcr.io/terraform-linters/tflint --init | |
podman run --rm -v $(pwd):/data -t ghcr.io/terraform-linters/tflint --recursive | |
- name: Environment Info | |
run: | | |
echo "ref: ${{ github.ref }}" | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4 | |
with: | |
role-to-assume: arn:aws:iam::022327457572:role/ks-infrastructure-maintainer | |
aws-region: eu-west-1 | |
- name: Terraform Init | |
run: terraform init | |
working-directory: terraform | |
- name: Terraform Plan | |
run: terraform plan -lock-timeout=20m | |
working-directory: terraform |