Skip to content

Commit

Permalink
Merge pull request #491 from blinqas/blinq-eslz-updates
Browse files Browse the repository at this point in the history
Update eslz to 4.2.0 and fix minor issues
  • Loading branch information
arnaudlh committed Sep 21, 2023
2 parents 9100bad + 130b2ec commit 56d6bad
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions caf_solution/add-ons/caf_eslz/custom_landing_zones.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,8 @@ locals {
for key, value in mg_value.subscriptions : local.caf.subscriptions[value.lz_key][value.key].subscription_id
],
try(split(",", data.external.reconcile_susbscription_ids_from_management_groups[mg_id].result.subscription_ids), []),
try(mg_value.subscription_ids, [])
)
mg_value.subscription_ids != null ? mg_value.subscription_ids : [""])
)

}
}

Expand Down
2 changes: 1 addition & 1 deletion caf_solution/add-ons/caf_eslz/enterprise_scale.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module "enterprise_scale" {
source = "Azure/caf-enterprise-scale/azurerm"
version = "3.3.0"
version = "4.2.0"

# source = "/tf/caf/alz"

Expand Down
2 changes: 1 addition & 1 deletion caf_solution/add-ons/caf_eslz/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "~> 3.35.0"
version = "~> 3.54.0"
}
}
required_version = ">= 1.3.5"
Expand Down
2 changes: 1 addition & 1 deletion caf_solution/add-ons/caf_eslz/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ variable "custom_landing_zones" {
object({
display_name = string
parent_management_group_id = string
subscription_ids = list(string)
subscription_ids = optional(list(string))
subscriptions = map(
object({
lz_key = string
Expand Down

0 comments on commit 56d6bad

Please sign in to comment.