-
Notifications
You must be signed in to change notification settings - Fork 3
/
outputs.tf
106 lines (81 loc) · 2.32 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
output "api_models_s3_bucket_name" {
description = "Name of the api-models s3 bucket"
value = module.s3-storage.api_models_s3_bucket_name
}
output "data_s3_bucket_name" {
description = "Name of the data s3 bucket"
value = module.s3-storage.data_s3_bucket_name
}
output "s3_role_id" {
description = "ID of the S3 role"
value = module.cluster.s3_role_id
}
output "efs_filesystem_id" {
description = "ID of the EFS filesystem"
value = var.include_efs == true ? module.efs-storage[0].efs_filesystem_id : ""
}
output "fsx-rwx" {
description = "Read write filesystem"
value = var.include_fsx == true ? module.fsx-storage[0].fsx-rwx : null
}
output "fsx-rox" {
description = "Read only filesystem"
value = var.include_rox ? module.fsx-storage[0].fsx-rox : ""
}
output "key_pem" {
value = tls_private_key.pk.private_key_pem
description = "Generated private key for key pair"
sensitive = true
}
output "fsx_storage_fsx_rwx_dns_name" {
value = var.include_fsx == true ? module.fsx-storage[0].fsx-rwx.dns_name : ""
}
output "fsx_storage_fsx_rwx_mount_name" {
value = var.include_fsx == true ? module.fsx-storage[0].fsx-rwx.mount_name : ""
}
output "fsx_storage_fsx_rwx_volume_handle" {
value = var.include_fsx == true ? module.fsx-storage[0].fsx-rwx.id : ""
}
output "fsx_storage_fsx_rwx_subnet_id" {
value = var.include_fsx == true ? module.fsx-storage[0].fsx-rwx.subnet_ids[0] : ""
}
output "cluster_name" {
value = var.label
}
output "cluster_region" {
value = var.region
}
output "dns_name" {
value = local.dns_name
}
# output "kubeconfig" {
# value = module.cluster.kubectl_config
# }
output "kube_host" {
value = module.cluster.kubernetes_host
}
output "kube_ca_certificate" {
value = base64encode(module.cluster.kubernetes_cluster_ca_certificate)
}
output "kube_token" {
sensitive = true
value = module.cluster.kubernetes_token
}
output "harness_delegate_name" {
value = var.harness_delegate == true && length(module.harness_delegate) > 0 ? module.harness_delegate[0].delegate_name : ""
}
output "ipa_version" {
value = var.ipa_version
}
output "argo_branch" {
value = var.argo_branch
}
output "argo_path" {
value = var.argo_path
}
output "argo_repo" {
value = var.argo_repo
}
output "monitoring_enabled" {
value = var.monitoring_enabled
}