Skip to content

Commit b603ae4

Browse files
authored
Update terraform versions in github actions (#2704)
1 parent 4a352d4 commit b603ae4

8 files changed

+14
-14
lines changed

.github/workflows/acceptance_test_dfa.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
inputs:
1414
terraformVersion:
1515
description: Terraform version
16-
default: 1.10.0-alpha20240807
16+
default: 1.11.2
1717

1818
jobs:
1919
acceptance_tests:
@@ -29,6 +29,6 @@ jobs:
2929
- name: Run Tests
3030
env:
3131
TF_ACC: 1
32-
TF_ACC_TERRAFORM_VERSION: ${{ github.event.inputs.terraformVersion || '1.9.0-alpha20240516' }}
32+
TF_ACC_TERRAFORM_VERSION: ${{ github.event.inputs.terraformVersion || '1.11.2' }}
3333
run: |
3434
go test -v -run '^TestAccKubernetesDeferredActions' ./kubernetes/test-dfa

.github/workflows/acceptance_tests_aks.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
default: "1.27"
1818
terraformVersion:
1919
description: Terraform version
20-
default: 1.7.5
20+
default: 1.11.2
2121
runTests:
2222
description: The regex passed to the -run option of `go test`
2323
default: "^TestAcc"
@@ -29,7 +29,7 @@ on:
2929

3030
env:
3131
KUBE_CONFIG_PATH: ${{ github.workspace }}/kubernetes/test-infra/aks/kubeconfig
32-
TERRAFORM_VERSION: ${{ github.event.inputs.terraformVersion || '1.10.1' }}
32+
TERRAFORM_VERSION: ${{ github.event.inputs.terraformVersion || '1.11.2' }}
3333
PARALLEL_RUNS: ${{ github.event.inputs.parallelRuns || '8' }}
3434
TF_VAR_location: ${{ github.event.inputs.location || 'canadaeast' }}
3535
TF_VAR_node_count: ${{ github.event.inputs.nodeCount || '2' }}

.github/workflows/acceptance_tests_eks.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ on:
2626
default: "^TestAcc"
2727
terraformVersion:
2828
description: Terraform version
29-
default: 1.7.5
29+
default: 1.11.2
3030
schedule:
3131
- cron: '0 20 * * *'
3232

3333
env:
3434
AWS_REGION: ${{ github.event.inputs.region || 'ca-central-1' }}
3535
KUBE_CONFIG_PATH: ${{ github.workspace }}/kubernetes/test-infra/eks/kubeconfig
3636
PARALLEL_RUNS: ${{ github.event.inputs.parallelRuns || '8' }}
37-
TERRAFORM_VERSION: ${{ github.event.inputs.terraformVersion || '1.10.1' }}
37+
TERRAFORM_VERSION: ${{ github.event.inputs.terraformVersion || '1.11.2' }}
3838
TF_VAR_az_span: ${{ github.event.inputs.azSpan || '2' }}
3939
TF_VAR_capacity_type: ${{ 'SPOT' }}
4040
TF_VAR_cluster_version: ${{ github.event.inputs.clusterVersion || '1.29' }}

.github/workflows/acceptance_tests_gke.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ on:
2626
default: "^TestAcc"
2727
terraformVersion:
2828
description: Terraform version
29-
default: 1.7.5
29+
default: 1.11.2
3030
schedule:
3131
- cron: '0 23 * * *'
3232

@@ -37,7 +37,7 @@ env:
3737
USE_GKE_GCLOUD_AUTH_PLUGIN: True
3838
KUBE_CONFIG_PATH: ${{ github.workspace }}/kubernetes/test-infra/gke/kubeconfig
3939
PARALLEL_RUNS: ${{ github.event.inputs.parallelRuns || '8' }}
40-
TERRAFORM_VERSION: ${{ github.event.inputs.terraformVersion || '1.10.1' }}
40+
TERRAFORM_VERSION: ${{ github.event.inputs.terraformVersion || '1.11.2' }}
4141
TF_VAR_cluster_version: ${{ github.event.inputs.clusterVersion || '1.29' }}
4242
TF_VAR_node_count: ${{ github.event.inputs.nodeCount || '1' }}
4343
TF_VAR_instance_type: ${{ github.event.inputs.instanceType || 'e2-standard-2' }}

.github/workflows/acceptance_tests_kind.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
default: "^TestAcc"
1212
terraformVersion:
1313
description: Terraform version
14-
default: 1.11.0-rc1 # FIXME change this v1.11.0 is released
14+
default: 1.11.2
1515
parallelRuns:
1616
description: The maximum number of tests to run simultaneously
1717
default: 8
@@ -29,7 +29,7 @@ env:
2929
KUBECONFIG: ${{ github.workspace }}/.kube/config
3030
KIND_VERSION: ${{ github.event.inputs.kindVersion || '0.25.0' }}
3131
PARALLEL_RUNS: ${{ github.event.inputs.parallelRuns || '8' }}
32-
TERRAFORM_VERSION: ${{ github.event.inputs.terraformVersion || '1.11.0-rc1' }} # FIXME change when v1.11.0 is released
32+
TERRAFORM_VERSION: ${{ github.event.inputs.terraformVersion || '1.11.2' }}
3333

3434
jobs:
3535
acceptance_tests_kind:

.github/workflows/check_examples.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,11 @@ jobs:
2626
strategy:
2727
matrix:
2828
terraform_version:
29-
- "1.2.9"
30-
- "1.3.9"
31-
- "1.4.0"
3229
- "1.6.0"
3330
- "1.7.0"
3431
- "1.8.0"
3532
- "1.10.1"
33+
- "1.11.2"
3634
env:
3735
TF_X_KUBERNETES_MANIFEST_RESOURCE: 1
3836
TERM: linux

.github/workflows/manifest_acc.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ jobs:
5050
isBaseMajorRelease: true
5151
kubernetes_version: v1.31.4@sha256:2cb39f7295fe7eafee0842b1052a599a4fb0f8bcf3f83d96c7f4864c357c6c30
5252
terraform_version:
53+
- 1.11.2
54+
- 1.10.5
5355
- 1.9.8
5456
- 1.8.5
5557
- 1.6.6

.github/workflows/provider_functions_unit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ jobs:
2929
run: go mod verify
3030
- name: Run unit tests
3131
env:
32-
TF_ACC_TERRAFORM_VERSION: 1.8.0
32+
TF_ACC_TERRAFORM_VERSION: 1.11.2
3333
run: |
3434
make testfuncs

0 commit comments

Comments
 (0)