Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Add resource map_accounts to landingzone.tf #493

Merged
merged 13 commits into from
Sep 18, 2023
1 change: 1 addition & 0 deletions caf_solution/landingzone.tf
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ module "solution" {
user_type = var.user_type
var_folder_path = var.var_folder_path
webapp = local.webapp
maps = local.maps

diagnostics = {
diagnostic_event_hub_namespaces = try(local.diagnostics.diagnostic_event_hub_namespaces, var.diagnostic_event_hub_namespaces)
Expand Down
8 changes: 8 additions & 0 deletions caf_solution/local.maps.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
locals {
maps = merge(
var.maps,
{
maps_account = var.maps_account
arnaudlh marked this conversation as resolved.
Show resolved Hide resolved
}
)
}
7 changes: 7 additions & 0 deletions caf_solution/variables.maps.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
variable "maps" {
default = {}
}

variable "maps_account" {
arnaudlh marked this conversation as resolved.
Show resolved Hide resolved
default = {}
}
Loading