diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml
index 7e40fa1..a25b72d 100644
--- a/.github/workflows/documentation.yml
+++ b/.github/workflows/documentation.yml
@@ -7,6 +7,9 @@ on:
permissions: {}
jobs:
docs:
+ permissions:
+ contents: write
+ pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
@@ -14,7 +17,7 @@ jobs:
ref: ${{ github.event.pull_request.head.ref }}
- name: Render terraform docs and push changes back to PR
- uses: terraform-docs/gh-actions@f6d59f89a280fa0a3febf55ef68f146784b20ba0 # v1.0.0
+ uses: terraform-docs/gh-actions@7a62208a0090636af2df1b739da46d27fd90bdc6 # v1.1.0
with:
working-dir: .
output-file: README.md
diff --git a/README.md b/README.md
index f59f0d1..a985813 100644
--- a/README.md
+++ b/README.md
@@ -84,11 +84,13 @@ No modules.
| [create\_role](#input\_create\_role) | Controls whether IAM role for Lambda Function should be created | `bool` | `true` | no |
| [description](#input\_description) | Description of your Lambda Function (or Layer) | `string` | `""` | no |
| [environment\_variables](#input\_environment\_variables) | A map that defines environment variables for the Lambda Function. | `map(string)` | `{}` | no |
+| [filename](#input\_filename) | The absolute path to an existing zip-file to use | `string` | `null` | no |
| [function\_name](#input\_function\_name) | A unique name for your Lambda Function | `string` | `""` | no |
+| [handler](#input\_handler) | Lambda Function entrypoint in your code | `string` | `null` | no |
| [image\_uri](#input\_image\_uri) | The ECR image URI containing the function's deployment package. | `string` | `null` | no |
| [lambda\_role](#input\_lambda\_role) | IAM role ARN attached to the Lambda Function. This governs both who / what can invoke your Lambda Function, as well as what resources our Lambda Function has access to. See Lambda Permission Model for more details. | `string` | `""` | no |
| [memory\_size](#input\_memory\_size) | Amount of memory in MB your Lambda Function can use at runtime | `number` | `128` | no |
-| [package\_type](#input\_package\_type) | The Lambda deployment package type. Valid options: Image | `string` | `"Image"` | no |
+| [package\_type](#input\_package\_type) | The Lambda deployment package type. Valid options: Image or Zip | `string` | `"Image"` | no |
| [policy\_arns](#input\_policy\_arns) | List of policy statements ARN to attach to Lambda Function role | `list(string)` | `[]` | no |
| [policy\_json](#input\_policy\_json) | An policy document as JSON to attach to the Lambda Function role | `string` | `null` | no |
| [policy\_json\_attached](#input\_policy\_json\_attached) | A json policy document is being passed into the module | `bool` | `false` | no |
@@ -96,11 +98,15 @@ No modules.
| [reserved\_concurrent\_executions](#input\_reserved\_concurrent\_executions) | The amount of reserved concurrent executions for this Lambda Function. A value of 0 disables Lambda Function from being triggered and -1 removes any concurrency limitations. Defaults to Unreserved Concurrency Limits -1. | `number` | `-1` | no |
| [role\_description](#input\_role\_description) | Description of IAM role to use for Lambda Function | `string` | `null` | no |
| [role\_name](#input\_role\_name) | Name of IAM role to use for Lambda Function | `string` | `null` | no |
+| [runtime](#input\_runtime) | Lambda function runtime | `string` | `null` | no |
| [sns\_topic\_on\_failure](#input\_sns\_topic\_on\_failure) | SNS topic arn for the lambda's destination on failure. | `string` | `""` | no |
| [sns\_topic\_on\_success](#input\_sns\_topic\_on\_success) | SNS topic arn for the lambda's destination on success. | `string` | `""` | no |
+| [source\_code\_hash](#input\_source\_code\_hash) | Hash value of the archive file. Calculated externally. Use to trigger updates when source file is changed. | `string` | `null` | no |
| [tags](#input\_tags) | Common tags to be used by all resources | `map(string)` | n/a | yes |
| [timeout](#input\_timeout) | The amount of time your Lambda Function has to run in seconds. | `number` | `3` | no |
| [tracing\_mode](#input\_tracing\_mode) | Tracing mode of the Lambda Function. Valid value can be either PassThrough or Active. | `string` | `null` | no |
+| [vpc\_security\_group\_ids](#input\_vpc\_security\_group\_ids) | List of security group ids when Lambda Function should run in the VPC. | `list(string)` | `null` | no |
+| [vpc\_subnet\_ids](#input\_vpc\_subnet\_ids) | List of subnet ids when Lambda Function should run in the VPC. Usually private or intra subnets. | `list(string)` | `null` | no |
## Outputs
@@ -109,4 +115,6 @@ No modules.
| [lambda\_function\_arn](#output\_lambda\_function\_arn) | The ARN of the Lambda Function |
| [lambda\_function\_invoke\_arn](#output\_lambda\_function\_invoke\_arn) | The invoke ARN of the Lambda Function |
| [lambda\_function\_name](#output\_lambda\_function\_name) | The Name of the Lambda Function |
+| [vpc\_security\_group\_ids](#output\_vpc\_security\_group\_ids) | The VPC security groups the lambda function has been deployed into |
+| [vpc\_subnet\_ids](#output\_vpc\_subnet\_ids) | The vpc subnet(s) the Lambda function has been deployed into |