-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
104 lines (85 loc) · 3.71 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
# Lambda Function
output "lambda_function_arn" {
description = "The ARN of the Lambda Function"
value = module.lambda_function_from_container_image.lambda_function_arn
}
output "lambda_function_arn_static" {
description = "The static ARN of the Lambda Function. Use this to avoid cycle errors between resources (e.g., Step Functions)"
value = module.lambda_function_from_container_image.lambda_function_arn_static
}
output "lambda_function_invoke_arn" {
description = "The Invoke ARN of the Lambda Function"
value = module.lambda_function_from_container_image.lambda_function_invoke_arn
}
output "lambda_function_name" {
description = "The name of the Lambda Function"
value = module.lambda_function_from_container_image.lambda_function_name
}
output "lambda_function_region" {
description = "The region of the Lambda Function"
value = data.aws_region.current.name
}
output "lambda_function_qualified_arn" {
description = "The ARN identifying your Lambda Function Version"
value = module.lambda_function_from_container_image.lambda_function_qualified_arn
}
output "lambda_function_version" {
description = "Latest published version of Lambda Function"
value = module.lambda_function_from_container_image.lambda_function_version
}
output "lambda_function_last_modified" {
description = "The date Lambda Function resource was last modified"
value = module.lambda_function_from_container_image.lambda_function_last_modified
}
output "lambda_function_kms_key_arn" {
description = "The ARN for the KMS encryption key of Lambda Function"
value = module.lambda_function_from_container_image.lambda_function_kms_key_arn
}
output "lambda_function_source_code_hash" {
description = "Base64-encoded representation of raw SHA-256 sum of the zip file"
value = module.lambda_function_from_container_image.lambda_function_source_code_hash
}
output "lambda_function_source_code_size" {
description = "The size in bytes of the function .zip file"
value = module.lambda_function_from_container_image.lambda_function_source_code_size
}
# Lambda Layer
output "lambda_layer_arn" {
description = "The ARN of the Lambda Layer with version"
value = module.lambda_function_from_container_image.lambda_layer_arn
}
output "lambda_layer_layer_arn" {
description = "The ARN of the Lambda Layer without version"
value = module.lambda_function_from_container_image.lambda_layer_layer_arn
}
output "lambda_layer_created_date" {
description = "The date Lambda Layer resource was created"
value = module.lambda_function_from_container_image.lambda_layer_created_date
}
output "lambda_layer_source_code_size" {
description = "The size in bytes of the Lambda Layer .zip file"
value = module.lambda_function_from_container_image.lambda_layer_source_code_size
}
output "lambda_layer_version" {
description = "The Lambda Layer version"
value = module.lambda_function_from_container_image.lambda_layer_version
}
# IAM Role
output "lambda_role_arn" {
description = "The ARN of the IAM role created for the Lambda Function"
value = module.lambda_function_from_container_image.lambda_role_arn
}
output "lambda_role_name" {
description = "The name of the IAM role created for the Lambda Function"
value = module.lambda_function_from_container_image.lambda_role_name
}
# CloudWatch Log Group
output "lambda_cloudwatch_log_group_arn" {
description = "The ARN of the Cloudwatch Log Group"
value = module.lambda_function_from_container_image.lambda_cloudwatch_log_group_arn
}
# Docker Image
output "docker_image_uri" {
description = "The ECR Docker image URI used to deploy Lambda Function"
value = module.docker_image.image_uri
}