forked from trussworks/terraform-aws-s3-anti-virus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
75 lines (62 loc) · 2.34 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
#
# Lambda Function: Anti-Virus Scanning `var.name_scan`
#
output "scan_aws_cloudwatch_log_group_arn" {
description = "ARN for the Anti-Virus Scanning Cloudwatch LogGroup."
value = aws_cloudwatch_log_group.main_scan.arn
}
output "scan_aws_cloudwatch_log_group_name" {
description = "The Anti-Virus Scanning Cloudwatch LogGroup name."
value = "/aws/lambda/${var.name_scan}"
}
output "scan_lambda_function_iam_role_arn" {
description = "Name of the Anti-Virus Scanning lambda role."
value = aws_iam_role.main_scan.arn
}
output "scan_lambda_function_iam_role_name" {
description = "Name of the Anti-Virus Scanning lambda role."
value = aws_iam_role.main_scan.name
}
output "scan_lambda_function_arn" {
description = "ARN for the Anti-Virus Scanning lambda function."
value = aws_lambda_function.main_scan.arn
}
output "scan_lambda_function_name" {
description = "The Anti-Virus Scanning lambda function name."
value = var.name_scan
}
output "scan_lambda_function_version" {
description = "Current version of the Anti-Virus Scanning lambda function."
value = aws_lambda_function.main_scan.version
}
#
# Lambda Function: Anti-Virus Definitions `var.name_update`
#
output "update_aws_cloudwatch_log_group_arn" {
description = "ARN for the Anti-Virus Definitions Cloudwatch LogGroup."
value = aws_cloudwatch_log_group.main_update.arn
}
output "update_aws_cloudwatch_log_group_name" {
description = "The Anti-Virus Definitions Cloudwatch LogGroup name."
value = "/aws/lambda/${var.name_update}"
}
output "update_lambda_function_iam_role_arn" {
description = "ARN of the Anti-Virus Definitions lambda role."
value = aws_iam_role.main_update.arn
}
output "update_lambda_function_iam_role_name" {
description = "Name of the Anti-Virus Definitions lambda role."
value = aws_iam_role.main_update.name
}
output "update_lambda_function_arn" {
description = "ARN for the Anti-Virus Definitions lambda function."
value = aws_lambda_function.main_update.arn
}
output "update_lambda_function_name" {
description = "The Anti-Virus Definitions lambda function name."
value = var.name_update
}
output "update_lambda_function_version" {
description = "Current version of the Anti-Virus Definitions lambda function."
value = aws_lambda_function.main_update.version
}