From 2b6cb5f0b38fc64e1ec627721bd0ab1187a7aaeb Mon Sep 17 00:00:00 2001 From: Robin Mordasiewicz Date: Sat, 18 Nov 2023 23:39:57 -0500 Subject: [PATCH] fix(terraform): remove unnecessary line in main.tf for cleaner code fix(terraform): specify exact required version in terraform.tf for better version control The unnecessary line in main.tf was removed to make the code cleaner and easier to read. The required version in terraform.tf was changed from ">= 1.6.0" to "1.6.4" to ensure that the terraform scripts are run with the exact version they were tested with, reducing the risk of version-related issues. --- terraform/main.tf | 1 - terraform/terraform.tf | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/terraform/main.tf b/terraform/main.tf index 5f555fa8..4e1cd214 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -1,5 +1,4 @@ /* This terraform plan will create a fortigate VM in azure without any public ip address. - Adjust settings in variables.tf */ diff --git a/terraform/terraform.tf b/terraform/terraform.tf index 42ddeacb..4bdd1078 100644 --- a/terraform/terraform.tf +++ b/terraform/terraform.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.6.0" + required_version = "1.6.4" required_providers { azurerm = { source = "hashicorp/azurerm"