forked from terraform-aws-modules/terraform-aws-notify-slack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
55 lines (45 loc) · 1.88 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
output "slack_topic_arn" {
description = "The ARN of the SNS topic from which messages will be sent to Slack"
value = local.sns_topic_arn
}
# todo: Remove `this_slack_topic_arn` output during next major release 5.x
output "this_slack_topic_arn" {
description = "The ARN of the SNS topic from which messages will be sent to Slack (backward compatibility for version 4.x)"
value = local.sns_topic_arn
}
output "lambda_iam_role_arn" {
description = "The ARN of the IAM role used by Lambda function"
value = module.lambda.lambda_role_arn
}
output "lambda_iam_role_name" {
description = "The name of the IAM role used by Lambda function"
value = module.lambda.lambda_role_name
}
output "notify_slack_lambda_function_arn" {
description = "The ARN of the Lambda function"
value = module.lambda.lambda_function_arn
}
output "notify_slack_lambda_function_name" {
description = "The name of the Lambda function"
value = module.lambda.lambda_function_name
}
output "notify_slack_lambda_function_invoke_arn" {
description = "The ARN to be used for invoking Lambda function from API Gateway"
value = module.lambda.lambda_function_invoke_arn
}
output "notify_slack_lambda_function_last_modified" {
description = "The date Lambda function was last modified"
value = module.lambda.lambda_function_last_modified
}
output "notify_slack_lambda_function_version" {
description = "Latest published version of your Lambda function"
value = module.lambda.lambda_function_version
}
output "lambda_cloudwatch_log_group_arn" {
description = "The Amazon Resource Name (ARN) specifying the log group"
value = try(aws_cloudwatch_log_group.lambda[0].arn, "")
}
output "sns_topic_feedback_role_arn" {
description = "The Amazon Resource Name (ARN) of the IAM role used for SNS delivery status logging"
value = local.sns_feedback_role
}