From 0a2bf898cfb91fca59c5c1eb6b4f542c8f7c2dd8 Mon Sep 17 00:00:00 2001 From: Marcelo Zambrana Villarroel Date: Fri, 6 Aug 2021 08:07:34 -0400 Subject: [PATCH] Update Terraform to version 1.0.4 (#334) --- .devcontainer/Dockerfile | 6 +++--- src/terraform/mlz/main.tf | 8 ++++---- src/terraform/tier3/main.tf | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index af7938c25..99bf59d2c 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -6,15 +6,15 @@ FROM ubuntu:20.04 ENV DEBIAN_FRONTEND=noninteractive # Terraform, providers and tflint versions -ARG TERRAFORM_VERSION=1.0.3 -ARG AZURERM_VERSION=2.69.0 +ARG TERRAFORM_VERSION=1.0.4 +ARG AZURERM_VERSION=2.70.0 ARG RANDOM_VERSION=3.1.0 ARG TIME_VERSION=0.7.2 ARG TFLINT_VERSION=0.30.0 ARG TFLINT_AZURERM=0.11.0 # Azure CLI version -ARG AZURE_CLI_VERSION=2.26.1-1~focal +ARG AZURE_CLI_VERSION=2.27.0-1~focal # Update distro (software-properties-common installs the add-apt-repository command) RUN apt-get update \ diff --git a/src/terraform/mlz/main.tf b/src/terraform/mlz/main.tf index e6aeec329..4d009d3fb 100644 --- a/src/terraform/mlz/main.tf +++ b/src/terraform/mlz/main.tf @@ -3,11 +3,11 @@ terraform { backend "azurerm" {} - required_version = "= 1.0.3" + required_version = "= 1.0.4" required_providers { azurerm = { source = "hashicorp/azurerm" - version = "= 2.69.0" + version = "= 2.70.0" } random = { source = "hashicorp/random" @@ -205,8 +205,8 @@ resource "azurerm_log_analytics_workspace" "laws" { } resource "azurerm_log_analytics_solution" "laws_sentinel" { - provider = azurerm.tier1 - count = var.create_sentinel ? 1 : 0 + provider = azurerm.tier1 + count = var.create_sentinel ? 1 : 0 solution_name = "SecurityInsights" location = azurerm_resource_group.tier1.location diff --git a/src/terraform/tier3/main.tf b/src/terraform/tier3/main.tf index 26dbdb9e2..12d147e70 100644 --- a/src/terraform/tier3/main.tf +++ b/src/terraform/tier3/main.tf @@ -2,11 +2,11 @@ # Licensed under the MIT License. terraform { backend "azurerm" {} - required_version = "= 1.0.3" + required_version = "= 1.0.4" required_providers { azurerm = { source = "hashicorp/azurerm" - version = "= 2.69.0" + version = "= 2.70.0" } } }