diff --git a/README.md b/README.md index 3020d28..5116e66 100644 --- a/README.md +++ b/README.md @@ -142,6 +142,6 @@ No modules. | Name | Description | |------|-------------| | [arn](#output\_arn) | ARN for the Lambda@Edge created by this module. | -| [name](#output\_name) | Name of the Lambda@Edge created by this module. | +| [name](#output\_function\_name) | Name of the Lambda@Edge created by this module. | | [qualified\_arn](#output\_qualified\_arn) | Qualified ARN for the Lambda@Edge created by this module. | diff --git a/files/deployable/index.js b/files/deployable/index.js index ea45954..b8f82d2 100644 --- a/files/deployable/index.js +++ b/files/deployable/index.js @@ -3,7 +3,6 @@ const { SSMClient, GetParameterCommand } = require('@aws-sdk/client-ssm'); const { STSClient, GetCallerIdentityCommand } = require('@aws-sdk/client-sts'); const fs = require('fs'); -// Check if the file exists const configFile = './config.json'; const NodeCache = require("node-cache"); diff --git a/output.tf b/output.tf index d7d8955..35c0fc1 100644 --- a/output.tf +++ b/output.tf @@ -8,7 +8,7 @@ output "arn" { value = aws_lambda_function.cloudfront_auth_edge.arn } -output "name" { +output "function_name" { description = "Name of the Lambda@Edge created by this module." value = aws_lambda_function.cloudfront_auth_edge.function_name }