https://github.com/replicatedhq/aws-event-handler-terraform-module
https://github.com/replicatedhq/aws-event-handler-terraform-module
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/replicatedhq/aws-event-handler-terraform-module
- Owner: replicatedhq
- Created: 2022-09-26T18:38:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-05T20:43:11.000Z (over 2 years ago)
- Last Synced: 2025-06-15T09:08:42.604Z (12 months ago)
- Language: HCL
- Size: 48.8 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.0.11 |
| [archive](#requirement\_archive) | ~> 2.2.0 |
| [aws](#requirement\_aws) | 4.30.0 |
| [null](#requirement\_null) | ~> 3.1.1 |
## Providers
| Name | Version |
|------|---------|
| [archive](#provider\_archive) | ~> 2.2.0 |
| [aws](#provider\_aws) | 4.30.0 |
| [null](#provider\_null) | ~> 3.1.1 |
## Modules
No modules.
## Resources
| Name | Type |
|------|------|
| [aws_iam_role.event_handler_lambda_iam_role](https://registry.terraform.io/providers/hashicorp/aws/4.30.0/docs/resources/iam_role) | resource |
| [aws_iam_role_policy.event_handler_lambda_iam_role_policy](https://registry.terraform.io/providers/hashicorp/aws/4.30.0/docs/resources/iam_role_policy) | resource |
| [aws_lambda_event_source_mapping.lambda_sqs_mapping](https://registry.terraform.io/providers/hashicorp/aws/4.30.0/docs/resources/lambda_event_source_mapping) | resource |
| [aws_lambda_function.handler_lambda](https://registry.terraform.io/providers/hashicorp/aws/4.30.0/docs/resources/lambda_function) | resource |
| [aws_sqs_queue.event_sqs_queue](https://registry.terraform.io/providers/hashicorp/aws/4.30.0/docs/resources/sqs_queue) | resource |
| [null_resource.trigger](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |
| [archive_file.handler_function_zip](https://registry.terraform.io/providers/hashicorp/archive/latest/docs/data-sources/file) | data source |
| [aws_iam_policy_document.policy](https://registry.terraform.io/providers/hashicorp/aws/4.30.0/docs/data-sources/iam_policy_document) | data source |
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [dead\_letter\_config](#input\_dead\_letter\_config) | n/a |
object({
target_arn = string
}) | `null` | no |
| [handler\_entrypoint](#input\_handler\_entrypoint) | Function entrypoint for the handler | `string` | n/a | yes |
| [handler\_lambda\_layers](#input\_handler\_lambda\_layers) | list of ARNs for layers to include with lambda function | `list(any)` | `null` | no |
| [handler\_path](#input\_handler\_path) | Path to the script to be run with lambda | `string` | n/a | yes |
| [handler\_runtime](#input\_handler\_runtime) | Runtime that the handler function utilizes. e.g. python37, node16, etc | `string` | n/a | yes |
| [kms\_master\_key\_id](#input\_kms\_master\_key\_id) | KMS key for encrypting SQS queue | `string` | `""` | no |
| [lambda\_concurrent\_executions](#input\_lambda\_concurrent\_executions) | Limit the number of concurrent executions of the lambda function. -1 removes any concurrency limitations | `number` | `-1` | no |
| [lambda\_timeout](#input\_lambda\_timeout) | Amount of time your Lambda Function has to run in seconds | `number` | `3` | no |
| [name](#input\_name) | Name of the service | `string` | n/a | yes |
| [owner](#input\_owner) | Owner of the service | `string` | n/a | yes |
| [vpc\_config](#input\_vpc\_config) | n/a | object({
security_group_ids = list(string)
subnet_ids = list(string)
}) | `null` | no |
## Outputs
| Name | Description |
|------|-------------|
| [lambda\_execution\_role](#output\_lambda\_execution\_role) | n/a |