forked from terraform-aws-modules/terraform-aws-notify-slack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
40 lines (32 loc) · 1.46 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
output "this_slack_topic_arn" {
description = "The ARN of the SNS topic from which messages will be sent to Slack"
value = local.sns_topic_arn
}
output "lambda_iam_role_arn" {
description = "The ARN of the IAM role used by Lambda function"
value = element(concat(aws_iam_role.lambda.*.arn, [""]), 0)
}
output "lambda_iam_role_name" {
description = "The name of the IAM role used by Lambda function"
value = element(concat(aws_iam_role.lambda.*.name, [""]), 0)
}
output "notify_slack_lambda_function_arn" {
description = "The ARN of the Lambda function"
value = element(concat(aws_lambda_function.notify_slack.*.arn, [""]), 0)
}
output "notify_slack_lambda_function_name" {
description = "The name of the Lambda function"
value = element(concat(aws_lambda_function.notify_slack.*.function_name, [""]), 0)
}
output "notify_slack_lambda_function_invoke_arn" {
description = "The ARN to be used for invoking Lambda function from API Gateway"
value = element(concat(aws_lambda_function.notify_slack.*.invoke_arn, [""]), 0)
}
output "notify_slack_lambda_function_last_modified" {
description = "The date Lambda function was last modified"
value = element(concat(aws_lambda_function.notify_slack.*.last_modified, [""]), 0)
}
output "notify_slack_lambda_function_version" {
description = "Latest published version of your Lambda function"
value = element(concat(aws_lambda_function.notify_slack.*.version, [""]), 0)
}