-
Notifications
You must be signed in to change notification settings - Fork 3
/
outputs.tf
36 lines (28 loc) · 886 Bytes
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
output "config_files_created_last_apply" {
description = "List of config files generated from this terraform config"
value = [for src, dest in local.all_tmpl_files : dest]
}
output "config_roots" {
value = local.config_roots
}
output "tmpl_fileset_glob_base" {
value = local.tmpl_fileset_glob_base
}
output "tmpl_fileset_glob_overrides" {
value = local.override_tmpl_fileset_glob
}
output "num_config_roots" {
value = length(local.config_roots)
}
output "num_config_roots_no_base" {
value = length(local.config_roots_no_tmpl_base)
}
output "num_config_roots_no_overrides" {
value = length(local.config_roots_no_tmpl_overrides)
}
output "num_config_roots_no_tmpl_found" {
value = length(local.config_roots_no_tmpl)
}
output "config_roots_no_tmpl_found" {
value = var.output_config_roots_no_tmpl_found ? keys(local.config_roots_no_tmpl) : ["<unknown>"]
}