Skip to content

Commit 28bd31f

Browse files
authored
feat: (IAC-1221) Update terraform and terraform provider versions (#352)
1 parent 8ba8181 commit 28bd31f

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
ARG TERRAFORM_VERSION=1.4.5
2-
ARG AZURECLI_VERSION=2.53.0
1+
ARG TERRAFORM_VERSION=1.6.4
2+
ARG AZURECLI_VERSION=2.54.0
33

44
FROM hashicorp/terraform:$TERRAFORM_VERSION as terraform
55
FROM mcr.microsoft.com/azure-cli:$AZURECLI_VERSION
6-
ARG KUBECTL_VERSION=1.26.6
6+
ARG KUBECTL_VERSION=1.26.10
77

88
WORKDIR /viya4-iac-azure
99

@@ -12,7 +12,7 @@ COPY . .
1212

1313
RUN apk update \
1414
&& apk upgrade \
15-
&& apk add --no-cache git openssh \
15+
&& apk add --no-cache git openssh curl\
1616
&& curl -sLO https://storage.googleapis.com/kubernetes-release/release/v$KUBECTL_VERSION/bin/linux/amd64/kubectl \
1717
&& chmod 755 ./kubectl /viya4-iac-azure/docker-entrypoint.sh \
1818
&& mv ./kubectl /usr/local/bin/kubectl \

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ This project supports two options for running Terraform scripts:
5757
Access to an **Azure Subscription** and an [**Identity**](./docs/user/TerraformAzureAuthentication.md) with the *Contributor* role are required.
5858

5959
#### Terraform Requirements:
60-
- [Terraform](https://www.terraform.io/downloads.html) - v1.4.5
60+
- [Terraform](https://www.terraform.io/downloads.html) - v1.6.4
6161
- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl) - v1.26
6262
- [jq](https://stedolan.github.io/jq/) - v1.6
63-
- [Azure CLI](https://docs.microsoft.com/en-us/cli/azure) - (optional - useful as an alternative to the Azure Portal) - v2.48.1
63+
- [Azure CLI](https://docs.microsoft.com/en-us/cli/azure) - (optional - useful as an alternative to the Azure Portal) - v2.54.0
6464

6565
#### Docker Requirements:
6666
- [Docker](https://docs.docker.com/get-docker/)

container-structure-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ commandTests:
1717
- name: "terraform version"
1818
command: "terraform"
1919
args: ["--version"]
20-
expectedOutput: ["Terraform v1.4.5"]
20+
expectedOutput: ["Terraform v1.6.4"]
2121
- name: "python version"
2222
command: "python3"
2323
args: ["--version"]
@@ -29,7 +29,7 @@ commandTests:
2929
- -c
3030
- |
3131
az version -o tsv
32-
expectedOutput: ["2.48.1\t2.48.1\t1.0.8"]
32+
expectedOutput: ["2.54.0\t2.54.0\t1.1.0"]
3333

3434
metadataTest:
3535
workdir: "/viya4-iac-azure"

versions.tf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,28 @@
33

44
terraform {
55

6-
required_version = ">= 1.4.5"
6+
required_version = ">= 1.6.4"
77

88
required_providers {
99
azurerm = {
1010
source = "hashicorp/azurerm"
11-
version = "3.64.0"
11+
version = "3.81.0"
1212
}
1313
azuread = {
1414
source = "hashicorp/azuread"
15-
version = "2.39.0"
15+
version = "2.46.0"
1616
}
1717
external = {
1818
source = "hashicorp/external"
19-
version = "2.3.1"
19+
version = "2.3.2"
2020
}
2121
local = {
2222
source = "hashicorp/local"
2323
version = "2.4.0"
2424
}
2525
null = {
2626
source = "hashicorp/null"
27-
version = "3.2.1"
27+
version = "3.2.2"
2828
}
2929
tls = {
3030
source = "hashicorp/tls"
@@ -36,7 +36,7 @@ terraform {
3636
}
3737
kubernetes = {
3838
source = "hashicorp/kubernetes"
39-
version = "2.20.0"
39+
version = "2.23.0"
4040
}
4141
}
4242
}

0 commit comments

Comments
 (0)