terraform-nixos #1

Closed
kiara wants to merge 57 commits from terraform-nixos into tf
Showing only changes of commit a746ec50cd - Show all commits

View file

@ -86,10 +86,6 @@ locals {
}
}
}
applications = { for name, inst in local.application_configs : name => merge(inst, {
# depends_on = [for name in local.peripheral_configs : module.deploy[name]]
})
}
}
# FIXME settle for pwd when in /nix/store?
@ -106,7 +102,7 @@ data "external" "hash" {
resource "terraform_data" "nixos" {
for_each = {for name, inst in merge(
local.peripherals,
local.applications,
local.application_configs,
) : name => inst if inst.cfg.enable}
triggers_replace = [