forked from Fediversity/Fediversity
wip: depends_on (causes cycle)
This commit is contained in:
parent
1dd48f66e4
commit
97d3b6710b
1 changed files with 5 additions and 1 deletions
|
@ -86,6 +86,10 @@ 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?
|
# FIXME settle for pwd when in /nix/store?
|
||||||
|
@ -102,7 +106,7 @@ data "external" "hash" {
|
||||||
resource "terraform_data" "nixos" {
|
resource "terraform_data" "nixos" {
|
||||||
for_each = {for name, inst in merge(
|
for_each = {for name, inst in merge(
|
||||||
local.peripherals,
|
local.peripherals,
|
||||||
local.application_configs,
|
local.applications,
|
||||||
) : name => inst if inst.cfg.enable}
|
) : name => inst if inst.cfg.enable}
|
||||||
|
|
||||||
triggers_replace = [
|
triggers_replace = [
|
||||||
|
|
Loading…
Add table
Reference in a new issue