From fce9494786b90ee206d5ca49eddca1617456483c Mon Sep 17 00:00:00 2001 From: Raoul Scarazzini Date: Tue, 7 Apr 2026 19:45:24 +0200 Subject: [PATCH] [IFS] Fix Terraform versions This updates software version to what is actual. Signed-off-by: Raoul Scarazzini --- IaC-From-Scratch/Terraform-Custom-Module.md | 14 +++++++------- IaC-From-Scratch/Terraform-First-Manifest.md | 10 +++++----- IaC-From-Scratch/Terraform-Fix-Linter-Issues.md | 8 ++++---- IaC-From-Scratch/Terraform-Manifest-With-Vars.md | 4 ++-- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/IaC-From-Scratch/Terraform-Custom-Module.md b/IaC-From-Scratch/Terraform-Custom-Module.md index 8afbde5..22cbb0b 100644 --- a/IaC-From-Scratch/Terraform-Custom-Module.md +++ b/IaC-From-Scratch/Terraform-Custom-Module.md @@ -64,7 +64,7 @@ In this lab you will: required_providers { docker = { source = "kreuzwerker/docker" - version = "3.6.2" + version = "4.0.0" } } } @@ -162,9 +162,9 @@ In this lab you will: Initializing modules... - mydocker in ../modules/mydocker Initializing provider plugins... - - Finding kreuzwerker/docker versions matching "3.6.2"... - - Installing kreuzwerker/docker v3.6.2... - - Installed kreuzwerker/docker v3.6.2 (self-signed, key ID BD080C4571C6104C) + - Finding kreuzwerker/docker versions matching "4.0.0"... + - Installing kreuzwerker/docker v4.0.0... + - Installed kreuzwerker/docker v4.0.0 (self-signed, key ID 0DCE698927DAF8EC) Partner and community providers are signed by their developers. If you'd like to know more about provider signing, you can read about it here: https://www.terraform.io/docs/cli/plugins/signing.html @@ -192,9 +192,9 @@ In this lab you will: Initializing modules... - mydocker in ../modules/mydocker Initializing provider plugins... - - Finding kreuzwerker/docker versions matching "3.6.2"... - - Installing kreuzwerker/docker v3.6.2... - - Installed kreuzwerker/docker v3.6.2 (self-signed, key ID BD080C4571C6104C) + - Finding kreuzwerker/docker versions matching "4.0.0"... + - Installing kreuzwerker/docker v4.0.0... + - Installed kreuzwerker/docker v4.0.0 (self-signed, key ID 0DCE698927DAF8EC) Partner and community providers are signed by their developers. If you'd like to know more about provider signing, you can read about it here: https://www.terraform.io/docs/cli/plugins/signing.html diff --git a/IaC-From-Scratch/Terraform-First-Manifest.md b/IaC-From-Scratch/Terraform-First-Manifest.md index 707c187..55ffc76 100644 --- a/IaC-From-Scratch/Terraform-First-Manifest.md +++ b/IaC-From-Scratch/Terraform-First-Manifest.md @@ -17,11 +17,11 @@ In this lab you will: 1. To install Docker on the host just follow the instructions on the lab named [Containers-Install-Docker.md](https://github.com/mmul-it/training/blob/master/Common/Containers-Install-Docker.md). -2. At time of writing, the latest `terraform` available version is the `1.9.8`, +2. At time of writing, the latest `terraform` available version is the `1.14.8`, so to download and make it available to the host use these commands: ```console - $ TF_VERSION=1.9.8 + $ TF_VERSION=1.14.8 (no output) $ TF_ARCH=linux_amd64 @@ -47,7 +47,7 @@ In this lab you will: ```console $ terraform --version - Terraform v1.9.8 + Terraform v1.14.8 on linux_amd64 ``` @@ -136,8 +136,8 @@ In this lab you will: Initializing the backend... Initializing provider plugins... - Finding latest version of kreuzwerker/docker... - - Installing kreuzwerker/docker v3.6.2... - - Installed kreuzwerker/docker v3.6.2 (self-signed, key ID BD080C4571C6104C) + - Installing kreuzwerker/docker v4.0.0... + - Installed kreuzwerker/docker v4.0.0 (self-signed, key ID 0DCE698927DAF8EC) Partner and community providers are signed by their developers. If you'd like to know more about provider signing, you can read about it here: https://www.terraform.io/docs/cli/plugins/signing.html diff --git a/IaC-From-Scratch/Terraform-Fix-Linter-Issues.md b/IaC-From-Scratch/Terraform-Fix-Linter-Issues.md index d4f2aec..a7faff9 100644 --- a/IaC-From-Scratch/Terraform-Fix-Linter-Issues.md +++ b/IaC-From-Scratch/Terraform-Fix-Linter-Issues.md @@ -117,23 +117,23 @@ In this lab you will: best practice is to set the Terraform version that was used to test the manifests. - To fix this, set the `required_version` to `1.9.8`, the Terraform version + To fix this, set the `required_version` to `1.14.8`, the Terraform version used while deploying and testing these manifests: ```hcl terraform { - required_version = "1.9.8" + required_version = "1.14.8" ``` The second warning is about the Docker provider version missing, still in `main.tf` which should always match the one used to deploy the manifests, in - this case `3.6.2`: + this case `4.0.0`: ```hcl required_providers { docker = { source = "kreuzwerker/docker" - version = "3.6.2" + version = "4.0.0" } } } diff --git a/IaC-From-Scratch/Terraform-Manifest-With-Vars.md b/IaC-From-Scratch/Terraform-Manifest-With-Vars.md index 808ce86..6df42cd 100644 --- a/IaC-From-Scratch/Terraform-Manifest-With-Vars.md +++ b/IaC-From-Scratch/Terraform-Manifest-With-Vars.md @@ -72,8 +72,8 @@ In this lab you will: Initializing the backend... Initializing provider plugins... - Finding latest version of kreuzwerker/docker... - - Installing kreuzwerker/docker v3.6.2... - - Installed kreuzwerker/docker v3.6.2 (self-signed, key ID BD080C4571C6104C) + - Installing kreuzwerker/docker v4.0.0... + - Installed kreuzwerker/docker v4.0.0 (self-signed, key ID 0DCE698927DAF8EC) Partner and community providers are signed by their developers. If you'd like to know more about provider signing, you can read about it here: https://www.terraform.io/docs/cli/plugins/signing.html