Skip to content

chore(deps): update terraform aws to v5.84.0 #150

chore(deps): update terraform aws to v5.84.0

chore(deps): update terraform aws to v5.84.0 #150

Workflow file for this run

name: Deploy Infrastructure
on:
push:
branches:
- main
permissions:
actions: write
contents: read
id-token: write
concurrency:
group: production
env:
# renovate: datasource=github-releases depName=hashicorp/terraform versioning=hashicorp
TERRAFORM_VERSION: "1.10.4"
jobs:
deploy:
environment:
name: Production
url: https://kitten-science.com
name: Deploy
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: 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 Apply
run: terraform apply -auto-approve -lock-timeout=20m
working-directory: terraform
# Ensure we only leave the deployment job for the latest
# push in the action pipeline, after we have deployed this
# change.
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
with:
all_but_latest: true