forked from grafana/lambda-promtail
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutputs.tf
More file actions
49 lines (40 loc) · 1.46 KB
/
outputs.tf
File metadata and controls
49 lines (40 loc) · 1.46 KB
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
output "function_arn" {
description = "The ARN of the Lambda function"
value = aws_lambda_function.this.arn
}
output "function_name" {
description = "The name of the Lambda function"
value = aws_lambda_function.this.function_name
}
output "function_role_arn" {
description = "The ARN of the IAM role for the Lambda function"
value = aws_iam_role.this.arn
}
output "function_role_name" {
description = "The name of the IAM role for the Lambda function"
value = aws_iam_role.this.name
}
output "log_group_name" {
description = "The name of the CloudWatch log group for the Lambda function"
value = aws_cloudwatch_log_group.this.name
}
output "log_group_arn" {
description = "The ARN of the CloudWatch log group for the Lambda function"
value = aws_cloudwatch_log_group.this.arn
}
output "kinesis_stream_name" {
description = "The name of the Kinesis stream for the Lambda function"
value = { for key, stream in aws_kinesis_stream.this : key => stream.name }
}
output "kinesis_stream_arn" {
description = "The ARN of the Kinesis stream for the Lambda function"
value = { for key, stream in aws_kinesis_stream.this : key => stream.arn }
}
output "sqs_queue_name" {
description = "The name of the SQS queue for the Lambda function"
value = aws_sqs_queue.main[*].name
}
output "sqs_queue_arn" {
description = "The ARN of the SQS queue for the Lambda function"
value = aws_sqs_queue.main[*].arn
}