-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
31 lines (27 loc) · 988 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
output "operator_namespace" {
description = "Namespace where the operator is installed"
value = kubernetes_namespace.materialize.metadata[0].name
}
output "operator_release_name" {
description = "Helm release name of the operator"
value = helm_release.materialize_operator.name
}
output "operator_release_status" {
description = "Status of the helm release"
value = helm_release.materialize_operator.status
}
output "materialize_instances" {
description = "Details of created Materialize instances"
value = {
for name, instance in kubernetes_manifest.materialize_instances : name => {
id = instance.manifest.metadata.name
namespace = instance.manifest.metadata.namespace
}
}
}
output "materialize_instance_resource_ids" {
description = "Resource IDs of created Materialize instances"
value = {
for name, instance in data.kubernetes_resource.materialize_instances : name => instance.object.status.resourceId
}
}