update(cluster): bump k8s version to 1.26 #14
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: Terraform apply | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'config/clusters/**' | |
concurrency: | |
group: master-CI | |
cancel-in-progress: false | |
defaults: | |
run: | |
working-directory: config/clusters | |
jobs: | |
plan: | |
permissions: | |
id-token: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: hashicorp/setup-terraform@v2 | |
- name: Configure AWS credentials 🔧⚙️ | |
uses: aws-actions/configure-aws-credentials@v2 | |
with: | |
role-to-assume: "arn:aws:iam::292999226676:role/github_actions-test-infra-cluster" | |
aws-region: eu-west-1 | |
- name: Terraform fmt | |
id: fmt | |
run: terraform fmt -check | |
continue-on-error: true | |
- name: Terraform Init | |
id: init | |
run: terraform init | |
- name: Terraform Validate | |
id: validate | |
run: terraform validate -no-color | |
- name: Terraform Apply | |
id: apply | |
run: terraform apply -auto-approve | |