File tree Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -48,27 +48,30 @@ This module provides a Lambda function which logs to CloudWatch. If no image URI
4848
4949## Outputs
5050
51- | Name | Description |
52- | ---- | ------------------------------- |
53- | arn | The ARN of the Lambda function. |
51+ | Name | Description |
52+ | ---------- | -------------------------------------- |
53+ | arn | The ARN of the Lambda function. |
54+ | invoke_arn | The invoke ARN of the Lambda function. |
5455
5556## Example
5657
5758``` hcl
5859module "function" {
5960 source = "github.com/custom-terraform-aws-modules/function"
6061
61- identifier = "example-function-dev"
62+ identifier = "example-function-dev"
63+ memory_size = 128
64+ timeout = 3
65+ log = true
6266 policies = [
6367 "arn:aws:iam::aws:policy/aws-service-role/AccessAnalyzerServiceRolePolicy",
6468 "arn:aws:iam::aws:policy/AdministratorAccess-Amplify"
6569 ]
66- log = true
70+
6771 image = {
6872 uri = "test.registry:latest"
6973 }
70- memory_size = 128
71- timeout = 3
74+
7275 env_variables = {
7376 TEST_VAR = 3
7477 }
Original file line number Diff line number Diff line change @@ -2,3 +2,8 @@ output "arn" {
22 description = " ARN of the Lambda function."
33 value = aws_lambda_function. main . arn
44}
5+
6+ output "invoke_arn" {
7+ description = " Invoke ARN of the Lambda function."
8+ value = aws_lambda_function. main . invoke_arn
9+ }
You can’t perform that action at this time.
0 commit comments