diff --git a/infrastructure/terraform/lambda/modules/lambda_with_sqs/main.tf b/infrastructure/terraform/lambda/modules/lambda_with_sqs/main.tf index 3816c206..065fb790 100644 --- a/infrastructure/terraform/lambda/modules/lambda_with_sqs/main.tf +++ b/infrastructure/terraform/lambda/modules/lambda_with_sqs/main.tf @@ -6,6 +6,10 @@ module "role" { name = "${var.name}-lambda-${var.stage}" } +output "role_name" { + value = module.role.role_name +} + ############################################ # SQS queue + DLQ ############################################