From 26b59c38ac5c0aeae53e0fb40be6cfc1e090239b Mon Sep 17 00:00:00 2001 From: Jim Enright Date: Mon, 30 Sep 2024 21:33:55 +0100 Subject: [PATCH] Update Azurerm provider constraint and CDP module versions to 0.8.1 (#44) Signed-off-by: Jim Enright --- aws/main.tf | 4 ++-- azure/main.tf | 7 +++---- gcp/main.tf | 4 ++-- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/aws/main.tf b/aws/main.tf index 7dc6c7e..dd27eaf 100644 --- a/aws/main.tf +++ b/aws/main.tf @@ -47,7 +47,7 @@ provider "aws" { } module "cdp_aws_prereqs" { - source = "git::https://github.com/cloudera-labs/terraform-cdp-modules.git//modules/terraform-cdp-aws-pre-reqs?ref=v0.8.0" + source = "git::https://github.com/cloudera-labs/terraform-cdp-modules.git//modules/terraform-cdp-aws-pre-reqs?ref=v0.8.1" env_prefix = var.env_prefix aws_region = var.aws_region @@ -90,7 +90,7 @@ module "cdp_aws_prereqs" { } module "cdp_deploy" { - source = "git::https://github.com/cloudera-labs/terraform-cdp-modules.git//modules/terraform-cdp-deploy?ref=v0.8.0" + source = "git::https://github.com/cloudera-labs/terraform-cdp-modules.git//modules/terraform-cdp-deploy?ref=v0.8.1" env_prefix = var.env_prefix infra_type = "aws" diff --git a/azure/main.tf b/azure/main.tf index a1649a9..4f96722 100644 --- a/azure/main.tf +++ b/azure/main.tf @@ -21,7 +21,7 @@ terraform { } azurerm = { source = "hashicorp/azurerm" - version = "3.84.0" + version = ">= 4.0.0" } azuread = { source = "hashicorp/azuread" @@ -43,7 +43,6 @@ terraform { } provider "azurerm" { - skip_provider_registration = true features { resource_group { prevent_deletion_if_contains_resources = false @@ -56,7 +55,7 @@ provider "azuread" { } module "cdp_azure_prereqs" { - source = "git::https://github.com/cloudera-labs/terraform-cdp-modules.git//modules/terraform-cdp-azure-pre-reqs?ref=v0.8.0" + source = "git::https://github.com/cloudera-labs/terraform-cdp-modules.git//modules/terraform-cdp-azure-pre-reqs?ref=v0.8.1" env_prefix = var.env_prefix azure_region = var.azure_region @@ -77,7 +76,7 @@ module "cdp_azure_prereqs" { } module "cdp_deploy" { - source = "git::https://github.com/cloudera-labs/terraform-cdp-modules.git//modules/terraform-cdp-deploy?ref=v0.8.0" + source = "git::https://github.com/cloudera-labs/terraform-cdp-modules.git//modules/terraform-cdp-deploy?ref=v0.8.1" env_prefix = var.env_prefix infra_type = "azure" diff --git a/gcp/main.tf b/gcp/main.tf index 7373ec6..c78cee6 100755 --- a/gcp/main.tf +++ b/gcp/main.tf @@ -45,7 +45,7 @@ provider "google" { module "cdp_gcp_prereqs" { - source = "git::https://github.com/cloudera-labs/terraform-cdp-modules.git//modules/terraform-cdp-gcp-pre-reqs?ref=v0.8.0" + source = "git::https://github.com/cloudera-labs/terraform-cdp-modules.git//modules/terraform-cdp-gcp-pre-reqs?ref=v0.8.1" env_prefix = var.env_prefix gcp_region = var.gcp_region @@ -62,7 +62,7 @@ module "cdp_gcp_prereqs" { } module "cdp_deploy" { - source = "git::https://github.com/cloudera-labs/terraform-cdp-modules.git//modules/terraform-cdp-deploy?ref=v0.8.0" + source = "git::https://github.com/cloudera-labs/terraform-cdp-modules.git//modules/terraform-cdp-deploy?ref=v0.8.1" env_prefix = var.env_prefix infra_type = "gcp"