include "root" {
  path = find_in_parent_folders("root.hcl")
}

include {
    path = "../terragrunt.hcl"
    expose = true
}

locals {
  users_config = yamldecode(file("${get_terragrunt_dir()}/users.yaml"))
}

terraform {
    source = "."
}

inputs = {
  users = local.users_config.users
}