forked from opslab/aws-eks-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
38 lines (32 loc) · 936 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
32
33
34
35
36
37
38
## PRIVATE PEM KEY ##
output "private_key" {
value = local_file.private_key.content
description = "Private Pem Key"
}
## Kubeconfig Output ##
output "kubeconfig" {
value = module.eks.kubeconfig
description = "Kubeconfig Output"
}
## AWS RDS output ##
output "database_instance_address" {
value = module.rds.this_db_instance_address
description = "Database Instance Address"
}
output "database_connection_endpoint" {
value = module.rds.this_db_instance_endpoint
description = "Database Connection Endpoint"
}
output "database_username" {
value = module.rds.this_db_instance_username
description = "Database Username"
}
output "database_password" {
value = module.rds.this_db_instance_password
description = "Database Password"
sensitive = true
}
output "eks_security_group" {
value = module.eks.worker_security_group_id
description = "EKS Security Group"
}