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

Commit

Permalink
Merge pull request #493 from leethanh2112/main
Browse files Browse the repository at this point in the history
Add resource map_accounts to landingzone.tf
  • Loading branch information
arnaudlh authored Sep 18, 2023
2 parents 37ccc59 + a3bc530 commit 9100bad
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
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_accounts = var.maps_accounts
}
)
}
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_accounts" {
default = {}
}

0 comments on commit 9100bad

Please sign in to comment.