This repository has been archived by the owner on Jun 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #80 from claranet/jnesbitt/add-enabled-option
Jnesbitt/add enabled option
- Loading branch information
Showing
8 changed files
with
51 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
output "function_arn" { | ||
description = "The ARN of the Lambda function" | ||
value = aws_lambda_function.lambda.arn | ||
value = join("", aws_lambda_function.lambda.*.arn) | ||
} | ||
|
||
output "function_invoke_arn" { | ||
description = "The Invoke ARN of the Lambda function" | ||
value = aws_lambda_function.lambda.invoke_arn | ||
value = join("", aws_lambda_function.lambda.*.invoke_arn) | ||
} | ||
|
||
output "function_name" { | ||
description = "The name of the Lambda function" | ||
value = aws_lambda_function.lambda.function_name | ||
value = join("", aws_lambda_function.lambda.*.function_name) | ||
} | ||
|
||
output "function_qualified_arn" { | ||
description = "The qualified ARN of the Lambda function" | ||
value = aws_lambda_function.lambda.qualified_arn | ||
value = join("", aws_lambda_function.lambda.*.qualified_arn) | ||
} | ||
|
||
output "role_arn" { | ||
description = "The ARN of the IAM role created for the Lambda function" | ||
value = aws_iam_role.lambda.arn | ||
value = join("", aws_iam_role.lambda.*.arn) | ||
} | ||
|
||
output "role_name" { | ||
description = "The name of the IAM role created for the Lambda function" | ||
value = aws_iam_role.lambda.name | ||
value = join("", aws_iam_role.lambda.*.name) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,4 +31,6 @@ module "lambda" { | |
dead_letter_config = { | ||
target_arn = aws_sqs_queue.dlq.arn | ||
} | ||
|
||
enabled = true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,4 +30,6 @@ module "lambda" { | |
ARN = aws_iam_user.test.arn | ||
} | ||
} | ||
|
||
enabled = true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters