-
Notifications
You must be signed in to change notification settings - Fork 3
/
outputs.tf
39 lines (36 loc) · 1 KB
/
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
37
38
39
output "systemd_units" {
value = concat([
data.ignition_systemd_unit.etcd_service.rendered,
data.ignition_systemd_unit.etcd_data_mount.rendered,
],
var.enable_metrics_proxy ? [
data.ignition_systemd_unit.etcd_metrics_proxy_service.rendered
] : []
)
}
output "files" {
value = concat([
data.ignition_file.etcd_env.rendered,
data.ignition_file.etcd_wrapper_sh.rendered,
data.ignition_file.etcd_ca.rendered,
data.ignition_file.etcd_client_cert.rendered,
data.ignition_file.etcd_client_key.rendered,
data.ignition_file.etcd_server_cert.rendered,
data.ignition_file.etcd_server_key.rendered,
data.ignition_file.etcd_peer_cert.rendered,
data.ignition_file.etcd_peer_key.rendered
],
var.enable_metrics_proxy ? [
data.ignition_file.etcd_metrics_proxy_wrapper_sh.rendered
] : [])
}
output "filesystems" {
value = [
data.ignition_filesystem.ectd_data.rendered
]
}
output "disks" {
value = [
data.ignition_disk.ectd_data.rendered
]
}