Skip to content

Commit

Permalink
Fix for assertion module
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleKotowick authored Jul 7, 2021
1 parent e60ad1a commit 20353b5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,11 @@ locals {
field.path[0] => {final_val = field.value, sub_val = lookup(local.m1, field.key, null)}[field.is_final ? "final_val" : "sub_val"]
}
}

// Check to make sure the highest level module has no remaining values that weren't recursed through
module "asset_sufficient_levels" {
source = "../assert"
source = "Invicton-Labs/assertion/null"
version = "0.1.1"
error_message = "Deepmerge has recursed to insufficient depth (${length(local.modules)} levels is not enough)"
condition = concat([
for i in range(0, length(var.maps)):
Expand Down

0 comments on commit 20353b5

Please sign in to comment.