-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathoutputs.tf
More file actions
72 lines (59 loc) · 2.25 KB
/
outputs.tf
File metadata and controls
72 lines (59 loc) · 2.25 KB
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
output "lambda_function_arn" {
description = "Lambda Function ARN"
value = module.lambda.lambda_function_arn
}
output "lambda_function_name" {
description = "Lambda Function Name"
value = module.lambda.lambda_function_name
}
output "lambda_function_version" {
description = "Latest published version of Lambda Function"
value = module.lambda.lambda_function_version
}
# Cloudwatch Log Group
output "lambda_cloudwatch_log_group_arn" {
description = "Lambda Cloudwatch Log group"
value = module.lambda.lambda_cloudwatch_log_group_arn
}
output "lambda_cloudwatch_log_group_name" {
description = "Lambda Cloudwatch Log group"
value = module.lambda.lambda_cloudwatch_log_group_name
}
# IAM Role
output "lambda_role_arn" {
description = "ARN of the IAM role created for the Lambda Function"
value = module.lambda.lambda_role_arn
}
output "lambda_role_name" {
description = "The name of the IAM role created for the Lambda Function"
value = module.lambda.lambda_role_name
}
output "lambda_role_unique_id" {
description = "The unique id of the IAM role created for the Lambda Function"
value = module.lambda.lambda_role_unique_id
}
# IAM Role for GHA
output "lambda_gha_role_name" {
description = "The crated role that can be assumed for the configured repository."
value = try(module.lambda_gha[0].role.name, "")
}
# For Lambda Edge and Cloudfront Integration
#For Lambda@Edge Association with cloudfront
output "qualified_arn" {
description = "The qualified arn of the lambda function to be associated with Cloudfront as a Lambda@Edge function"
value = module.lambda.lambda_function_qualified_arn
}
#For using lambda as origin for cloudfront
output "function_url" {
description = "The function url of lambda function to be able to be set as cloudfront origin"
value = module.lambda.lambda_function_url
}
output "function_url_id" {
description = "The function url ID of lambda function to be able to be set as cloudfront origin"
value = module.lambda.lambda_function_url_id
}
#To associate lambdas with api gateway integration
output "invoke_arn" {
description = "The invoke arn of lambda function for APIGW integration"
value = module.lambda.lambda_function_invoke_arn
}