-
Notifications
You must be signed in to change notification settings - Fork 1
/
outputs.tf
73 lines (60 loc) · 2.64 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
# Lambda Function
output "this_lambda_function_arn" {
description = "The ARN of the Lambda Function"
value = element(concat(aws_lambda_function.this.*.arn, [""]), 0)
}
output "this_lambda_function_invoke_arn" {
description = "The Invoke ARN of the Lambda Function"
value = element(concat(aws_lambda_function.this.*.invoke_arn, [""]), 0)
}
output "this_lambda_function_name" {
description = "The name of the Lambda Function"
value = element(concat(aws_lambda_function.this.*.function_name, [""]), 0)
}
output "this_lambda_function_qualified_arn" {
description = "The ARN identifying your Lambda Function Version"
value = element(concat(aws_lambda_function.this.*.qualified_arn, [""]), 0)
}
output "this_lambda_function_version" {
description = "Latest published version of Lambda Function"
value = element(concat(aws_lambda_function.this.*.version, [""]), 0)
}
output "this_lambda_function_last_modified" {
description = "The date Lambda Function resource was last modified"
value = element(concat(aws_lambda_function.this.*.last_modified, [""]), 0)
}
output "this_lambda_function_kms_key_arn" {
description = "The ARN for the KMS encryption key of Lambda Function"
value = element(concat(aws_lambda_function.this.*.kms_key_arn, [""]), 0)
}
output "this_lambda_function_source_code_hash" {
description = "Base64-encoded representation of raw SHA-256 sum of the zip file"
value = element(concat(aws_lambda_function.this.*.source_code_hash, [""]), 0)
}
output "this_lambda_function_source_code_size" {
description = "The size in bytes of the function .zip file"
value = element(concat(aws_lambda_function.this.*.source_code_size, [""]), 0)
}
# IAM Role
output "this_lambda_role_arn" {
description = "The ARN of the IAM role created for the Lambda Function"
value = element(concat(aws_iam_role.this.*.arn, [""]), 0)
}
output "this_lambda_role_name" {
description = "The name of the IAM role created for the Lambda Function"
value = element(concat(aws_iam_role.this.*.name, [""]), 0)
}
# CloudWatch Log Group
output "this_lambda_cloudwatch_log_group_arn" {
description = "The ARN of the Cloudwatch Log Group"
value = element(concat(aws_cloudwatch_log_group.this.*.arn, [""]), 0)
}
# CloudWatch Event Rule
output "this_lambda_cloudwatch_event_rule_arn" {
description = "The ARN of the Cloudwatch Event Rule"
value = element(concat(aws_cloudwatch_event_rule.this.*.arn, [""]), 0)
}
output "this_lambda_cloudwatch_event_rule_name" {
description = "The name of the Cloudwatch Event Rule"
value = element(concat(aws_cloudwatch_event_rule.this.*.name, [""]), 0)
}