-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathoutput.tf
31 lines (25 loc) · 993 Bytes
/
output.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
output "install_manifest" {
value = var.output_manifests ? data.flux_install.main.content : ""
}
output "sync_manifest" {
value = var.output_manifests ? data.flux_sync.main.content : ""
}
output "namespace" {
value = var.namespace
}
output "flux_generated_private_key" {
sensitive = true
value = var.flux_auth_type == "ssh" && var.flux_ssh_key.auto_generate_key ? tls_private_key.ssh.0.private_key_pem : ""
}
output "flux_generated_public_key" {
sensitive = true
value = var.flux_auth_type == "ssh" && var.flux_ssh_key.auto_generate_key ? tls_private_key.ssh.0.public_key_openssh : ""
}
output "sealed_secrets_generated_private_key" {
sensitive = true
value = var.sealed_secrets_key_cert.auto_generate_key_cert ? tls_private_key.sealed_secret_key.0.private_key_pem : ""
}
output "sealed_secrets_generated_cert" {
sensitive = true
value = var.sealed_secrets_key_cert.auto_generate_key_cert ? tls_self_signed_cert.sealed_secret_cert.0.cert_pem : ""
}