forked from cloudposse/terraform-aws-lambda-function
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
29 lines (24 loc) · 907 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
output "arn" {
description = "ARN of the lambda function"
value = local.enabled ? aws_lambda_function.this[0].arn : null
}
output "invoke_arn" {
description = "Inkoke 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
}