-
Notifications
You must be signed in to change notification settings - Fork 0
/
output.tf
40 lines (31 loc) · 1.22 KB
/
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
32
33
34
35
36
37
38
39
40
output "truefoundry_db_id" {
value = var.truefoundry_db_enabled ? aws_db_instance.truefoundry_db[0].id : ""
}
output "truefoundry_db_endpoint" {
value = var.truefoundry_db_enabled ? aws_db_instance.truefoundry_db[0].endpoint : ""
}
output "truefoundry_db_address" {
value = var.truefoundry_db_enabled ? aws_db_instance.truefoundry_db[0].address : ""
}
output "truefoundry_db_port" {
value = var.truefoundry_db_enabled ? aws_db_instance.truefoundry_db[0].port : 0
}
output "truefoundry_db_database_name" {
value = var.truefoundry_db_enabled ? aws_db_instance.truefoundry_db[0].db_name : ""
}
output "truefoundry_db_engine" {
value = var.truefoundry_db_enabled ? aws_db_instance.truefoundry_db[0].engine : ""
}
output "truefoundry_db_username" {
value = var.truefoundry_db_enabled ? aws_db_instance.truefoundry_db[0].username : ""
}
output "truefoundry_db_password" {
value = var.truefoundry_db_enabled ? aws_db_instance.truefoundry_db[0].password : ""
sensitive = true
}
output "truefoundry_bucket_id" {
value = var.truefoundry_s3_enabled ? module.truefoundry_bucket[0].s3_bucket_id : ""
}
output "truefoundry_iam_role_arn" {
value = var.truefoundry_iam_role_enabled ? module.truefoundry_oidc_iam[0].iam_role_arn : ""
}