Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,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
}
Loading