forked from faros-ai/terraform-aws-kong
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
52 lines (43 loc) · 1.34 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
40
41
42
43
44
45
46
47
48
49
50
51
52
output "rds_id" {
value = coalesce(aws_db_instance.kong.*.id)
description = "ID of the Kong database"
}
output "rds_arn" {
value = coalesce(aws_db_instance.kong.*.arn)
description = "ARN of the Kong database"
}
output "rds_endpoint" {
value = coalesce(aws_rds_cluster.kong.*.endpoint)
description = "The endpoint for the Kong database"
}
output "rds_password" {
sensitive = true
value = random_string.db_password.result
description = "The database password for Kong"
}
output "master_password" {
sensitive = true
value = random_string.master_password.result
description = "The master password for Kong"
}
output "admin_password_key_name" {
value = aws_ssm_parameter.admin-password.name
description = "The SSM key name for admin password for Kong"
}
output "admin_token" {
sensitive = true
value = random_string.admin_token.result
description = "The admin token for Kong"
}
output "lb_endpoint_external" {
value = coalesce(aws_lb.external.*.dns_name)
description = "The external load balancer endpoint"
}
output "lb_endpoint_internal" {
value = coalesce(aws_lb.internal.*.dns_name)
description = "The internal load balancer endpoint"
}
output "autoscaling_group" {
value = coalesce(aws_autoscaling_group.kong.*.name)
description = "The autoscaling group"
}