generated from cloudposse/terraform-example-module
-
-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathoutputs.tf
34 lines (28 loc) · 1.05 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
output "arn" {
description = "ARN of the lambda function"
value = local.enabled ? aws_lambda_function.this[0].arn : null
}
output "invoke_arn" {
description = "Invoke ARN of the lambda function"
value = local.enabled ? aws_lambda_function.this[0].invoke_arn : null
}
output "qualified_arn" {
description = "ARN identifying your Lambda Function Version (if versioning is enabled via publish = true)"
value = local.enabled ? aws_lambda_function.this[0].qualified_arn : null
}
output "function_name" {
description = "Lambda function name"
value = local.enabled ? aws_lambda_function.this[0].function_name : null
}
output "role_name" {
description = "Lambda IAM role name"
value = local.enabled ? aws_iam_role.this[0].name : null
}
output "role_arn" {
description = "Lambda IAM role ARN"
value = local.enabled ? aws_iam_role.this[0].arn : null
}
output "cloudwatch_log_group_name" {
description = "Name of Cloudwatch log group"
value = local.enabled ? module.cloudwatch_log_group.log_group_name : null
}