git.delta.rocks / jrsonnet / refs/commits / 61365dfbca33

difftreelog

fix move fleet-tf data extra

ttuosnwpYaroslav Bolyukin2025-10-01parent: #001a19c.patch.diff
in: trunk

1 file changed

modifiedmodules/extras/tf.nixdiffbeforeafterboth
25 ];25 ];
26 };26 };
27 };27 };
28 data = mkDataOption {
29 # host => hostData
30 options.extra.terraformHosts = mkOption {
31 default = { };
32 type = attrsOf (attrsOf unspecified);
33 description = "Hosts data provided by fleet tf";
34 };
35 };
36 };28 };
3729
38 config = {30 config = {
46 # will be somehow processed by fleet tf.38 # will be somehow processed by fleet tf.
47 sensitive = true;39 sensitive = true;
48 };40 };
49 fleetConfigurations.default.hosts = config.data.extra.terraformHosts;41 fleetConfigurations.default = {config, ...}: {
42 options.data = mkDataOption {
43 # host => hostData
44 options.extra.terraformHosts = mkOption {
45 default = { };
46 type = attrsOf (attrsOf unspecified);
47 description = "Hosts data provided by fleet tf";
48 };
49 };
50 config.hosts = config.data.extra.terraformHosts;
51 };
5052
51 perSystem.imports = [ ./tf-bootstrap.nix ];53 perSystem.imports = [ ./tf-bootstrap.nix ];
52 };54 };