-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
51 lines (40 loc) · 2 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
output "managed_prometheus_workspace_region" {
description = "AWS Region"
value = module.eks_monitoring.managed_prometheus_workspace_region
}
output "managed_prometheus_workspace_endpoint" {
description = "Amazon Managed Prometheus workspace endpoint"
value = module.eks_monitoring.managed_prometheus_workspace_endpoint
}
output "managed_prometheus_workspace_id" {
description = "Amazon Managed Prometheus workspace ID"
value = module.eks_monitoring.managed_prometheus_workspace_id
}
output "eks_cluster_version" {
description = "EKS Cluster version"
value = module.eks_monitoring.eks_cluster_version
}
output "eks_cluster_id" {
description = "EKS Cluster Id"
value = module.eks_monitoring.eks_cluster_id
}
output "grafana_key_rotation_lambda_function_arn" {
description = "ARN of the Lambda function performing Key rotation"
# value = module.grafana_key_rotation.lambda_function_arn
value = var.enable_grafana_key_rotation ? module.grafana_key_rotation[0].lambda_function_arn : null
}
output "grafana_key_rotation_lambda_function_role_arn" {
description = "ARN of the Lambda function execution role"
# value = module.grafana_key_rotation.lambda_function_role_arn
value = var.enable_grafana_key_rotation ? module.grafana_key_rotation[0].lambda_function_role_arn : null
}
output "grafana_key_rotation_eventbridge_scheduler_arn" {
description = "ARN of the EventBridge Scheduler invoking Lambda Function for Key rotation"
# value = module.grafana_key_rotation.eventbridge_scheduler_arn
value = var.enable_grafana_key_rotation ? module.grafana_key_rotation[0].eventbridge_scheduler_arn : null
}
output "grafana_key_rotation_eventbridge_scheduler_role_arn" {
description = "ARN of the IAM Role of EventBridge Scheduler invoking Lambda Function for Key rotation"
# value = module.grafana_key_rotation.eventbridge_scheduler_role_arn
value = var.enable_grafana_key_rotation ? module.grafana_key_rotation[0].eventbridge_scheduler_role_arn : null
}