|
1 |
| -# # Lambda Function |
2 |
| -# output "lambda_function_arn" { |
3 |
| -# description = "The ARN of the Lambda Function" |
4 |
| -# value = module.lambda_function.lambda_function_arn |
5 |
| -# } |
6 |
| - |
7 |
| -# output "lambda_function_arn_static" { |
8 |
| -# description = "The static ARN of the Lambda Function. Use this to avoid cycle errors between resources (e.g., Step Functions)" |
9 |
| -# value = module.lambda_function.lambda_function_arn_static |
10 |
| -# } |
11 |
| - |
12 |
| -# output "lambda_function_invoke_arn" { |
13 |
| -# description = "The Invoke ARN of the Lambda Function" |
14 |
| -# value = module.lambda_function.lambda_function_invoke_arn |
15 |
| -# } |
16 |
| - |
17 |
| -# output "lambda_function_name" { |
18 |
| -# description = "The name of the Lambda Function" |
19 |
| -# value = module.lambda_function.lambda_function_name |
20 |
| -# } |
21 |
| - |
22 |
| -# output "lambda_function_qualified_arn" { |
23 |
| -# description = "The ARN identifying your Lambda Function Version" |
24 |
| -# value = module.lambda_function.lambda_function_qualified_arn |
25 |
| -# } |
26 |
| - |
27 |
| -# output "lambda_function_version" { |
28 |
| -# description = "Latest published version of Lambda Function" |
29 |
| -# value = module.lambda_function.lambda_function_version |
30 |
| -# } |
31 |
| - |
32 |
| -# output "lambda_function_last_modified" { |
33 |
| -# description = "The date Lambda Function resource was last modified" |
34 |
| -# value = module.lambda_function.lambda_function_last_modified |
35 |
| -# } |
36 |
| - |
37 |
| -# output "lambda_function_kms_key_arn" { |
38 |
| -# description = "The ARN for the KMS encryption key of Lambda Function" |
39 |
| -# value = module.lambda_function.lambda_function_kms_key_arn |
40 |
| -# } |
41 |
| - |
42 |
| -# output "lambda_function_source_code_hash" { |
43 |
| -# description = "Base64-encoded representation of raw SHA-256 sum of the zip file" |
44 |
| -# value = module.lambda_function.lambda_function_source_code_hash |
45 |
| -# } |
46 |
| - |
47 |
| -# output "lambda_function_source_code_size" { |
48 |
| -# description = "The size in bytes of the function .zip file" |
49 |
| -# value = module.lambda_function.lambda_function_source_code_size |
50 |
| -# } |
51 |
| - |
52 |
| -# # Lambda Layer |
53 |
| -# output "lambda_layer_arn" { |
54 |
| -# description = "The ARN of the Lambda Layer with version" |
55 |
| -# value = module.lambda_function.lambda_layer_arn |
56 |
| -# } |
57 |
| - |
58 |
| -# output "lambda_layer_layer_arn" { |
59 |
| -# description = "The ARN of the Lambda Layer without version" |
60 |
| -# value = module.lambda_function.lambda_layer_layer_arn |
61 |
| -# } |
62 |
| - |
63 |
| -# output "lambda_layer_created_date" { |
64 |
| -# description = "The date Lambda Layer resource was created" |
65 |
| -# value = module.lambda_function.lambda_layer_created_date |
66 |
| -# } |
67 |
| - |
68 |
| -# output "lambda_layer_source_code_size" { |
69 |
| -# description = "The size in bytes of the Lambda Layer .zip file" |
70 |
| -# value = module.lambda_function.lambda_layer_source_code_size |
71 |
| -# } |
72 |
| - |
73 |
| -# output "lambda_layer_version" { |
74 |
| -# description = "The Lambda Layer version" |
75 |
| -# value = module.lambda_function.lambda_layer_version |
76 |
| -# } |
77 |
| - |
78 |
| -# # IAM Role |
79 |
| -# output "lambda_role_arn" { |
80 |
| -# description = "The ARN of the IAM role created for the Lambda Function" |
81 |
| -# value = module.lambda_function.lambda_role_arn |
82 |
| -# } |
83 |
| - |
84 |
| -# output "lambda_role_name" { |
85 |
| -# description = "The name of the IAM role created for the Lambda Function" |
86 |
| -# value = module.lambda_function.lambda_role_name |
87 |
| -# } |
88 |
| - |
89 |
| -# # CloudWatch Log Group |
90 |
| -# output "lambda_cloudwatch_log_group_arn" { |
91 |
| -# description = "The ARN of the Cloudwatch Log Group" |
92 |
| -# value = module.lambda_function.lambda_cloudwatch_log_group_arn |
93 |
| -# } |
94 |
| - |
95 |
| -# # Deployment package |
96 |
| -# output "local_filename" { |
97 |
| -# description = "The filename of zip archive deployed (if deployment was from local)" |
98 |
| -# value = module.lambda_function.local_filename |
99 |
| -# } |
100 |
| - |
101 |
| -# output "s3_object" { |
102 |
| -# description = "The map with S3 object data of zip archive deployed (if deployment was from S3)" |
103 |
| -# value = module.lambda_function.s3_object |
104 |
| -# } |
| 1 | +# Lambda Function |
| 2 | +output "lambda_function_arn" { |
| 3 | + description = "The ARN of the Lambda Function" |
| 4 | + value = module.lambda_function.lambda_function_arn |
| 5 | +} |
| 6 | + |
| 7 | +output "lambda_function_arn_static" { |
| 8 | + description = "The static ARN of the Lambda Function. Use this to avoid cycle errors between resources (e.g., Step Functions)" |
| 9 | + value = module.lambda_function.lambda_function_arn_static |
| 10 | +} |
| 11 | + |
| 12 | +output "lambda_function_invoke_arn" { |
| 13 | + description = "The Invoke ARN of the Lambda Function" |
| 14 | + value = module.lambda_function.lambda_function_invoke_arn |
| 15 | +} |
| 16 | + |
| 17 | +output "lambda_function_name" { |
| 18 | + description = "The name of the Lambda Function" |
| 19 | + value = module.lambda_function.lambda_function_name |
| 20 | +} |
| 21 | + |
| 22 | +output "lambda_function_qualified_arn" { |
| 23 | + description = "The ARN identifying your Lambda Function Version" |
| 24 | + value = module.lambda_function.lambda_function_qualified_arn |
| 25 | +} |
| 26 | + |
| 27 | +output "lambda_function_version" { |
| 28 | + description = "Latest published version of Lambda Function" |
| 29 | + value = module.lambda_function.lambda_function_version |
| 30 | +} |
| 31 | + |
| 32 | +output "lambda_function_last_modified" { |
| 33 | + description = "The date Lambda Function resource was last modified" |
| 34 | + value = module.lambda_function.lambda_function_last_modified |
| 35 | +} |
| 36 | + |
| 37 | +output "lambda_function_kms_key_arn" { |
| 38 | + description = "The ARN for the KMS encryption key of Lambda Function" |
| 39 | + value = module.lambda_function.lambda_function_kms_key_arn |
| 40 | +} |
| 41 | + |
| 42 | +output "lambda_function_source_code_hash" { |
| 43 | + description = "Base64-encoded representation of raw SHA-256 sum of the zip file" |
| 44 | + value = module.lambda_function.lambda_function_source_code_hash |
| 45 | +} |
| 46 | + |
| 47 | +output "lambda_function_source_code_size" { |
| 48 | + description = "The size in bytes of the function .zip file" |
| 49 | + value = module.lambda_function.lambda_function_source_code_size |
| 50 | +} |
| 51 | + |
| 52 | +# Lambda Layer |
| 53 | +output "lambda_layer_arn" { |
| 54 | + description = "The ARN of the Lambda Layer with version" |
| 55 | + value = module.lambda_function.lambda_layer_arn |
| 56 | +} |
| 57 | + |
| 58 | +output "lambda_layer_layer_arn" { |
| 59 | + description = "The ARN of the Lambda Layer without version" |
| 60 | + value = module.lambda_function.lambda_layer_layer_arn |
| 61 | +} |
| 62 | + |
| 63 | +output "lambda_layer_created_date" { |
| 64 | + description = "The date Lambda Layer resource was created" |
| 65 | + value = module.lambda_function.lambda_layer_created_date |
| 66 | +} |
| 67 | + |
| 68 | +output "lambda_layer_source_code_size" { |
| 69 | + description = "The size in bytes of the Lambda Layer .zip file" |
| 70 | + value = module.lambda_function.lambda_layer_source_code_size |
| 71 | +} |
| 72 | + |
| 73 | +output "lambda_layer_version" { |
| 74 | + description = "The Lambda Layer version" |
| 75 | + value = module.lambda_function.lambda_layer_version |
| 76 | +} |
| 77 | + |
| 78 | +# IAM Role |
| 79 | +output "lambda_role_arn" { |
| 80 | + description = "The ARN of the IAM role created for the Lambda Function" |
| 81 | + value = module.lambda_function.lambda_role_arn |
| 82 | +} |
| 83 | + |
| 84 | +output "lambda_role_name" { |
| 85 | + description = "The name of the IAM role created for the Lambda Function" |
| 86 | + value = module.lambda_function.lambda_role_name |
| 87 | +} |
| 88 | + |
| 89 | +# CloudWatch Log Group |
| 90 | +output "lambda_cloudwatch_log_group_arn" { |
| 91 | + description = "The ARN of the Cloudwatch Log Group" |
| 92 | + value = module.lambda_function.lambda_cloudwatch_log_group_arn |
| 93 | +} |
| 94 | + |
| 95 | +# Deployment package |
| 96 | +output "local_filename" { |
| 97 | + description = "The filename of zip archive deployed (if deployment was from local)" |
| 98 | + value = module.lambda_function.local_filename |
| 99 | +} |
| 100 | + |
| 101 | +output "s3_object" { |
| 102 | + description = "The map with S3 object data of zip archive deployed (if deployment was from S3)" |
| 103 | + value = module.lambda_function.s3_object |
| 104 | +} |
0 commit comments