{"id":19129442,"url":"https://github.com/launchbynttdata/tf-aws-module_primitive-lambda_function","last_synced_at":"2026-05-18T14:08:48.755Z","repository":{"id":239190115,"uuid":"791995696","full_name":"launchbynttdata/tf-aws-module_primitive-lambda_function","owner":"launchbynttdata","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-19T19:22:49.000Z","size":73,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-20T10:34:28.641Z","etag":null,"topics":["aws","infrastructure-as-code","platform-automation","primitive","terraform"],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/launchbynttdata.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-04-25T19:15:29.000Z","updated_at":"2026-03-19T19:10:28.000Z","dependencies_parsed_at":"2024-05-10T16:00:02.882Z","dependency_job_id":"1b4c4276-9e9f-45cf-b231-c1e01173f622","html_url":"https://github.com/launchbynttdata/tf-aws-module_primitive-lambda_function","commit_stats":null,"previous_names":["launchbynttdata/tf-aws-module_primitive-lambda_function"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/launchbynttdata/tf-aws-module_primitive-lambda_function","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchbynttdata%2Ftf-aws-module_primitive-lambda_function","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchbynttdata%2Ftf-aws-module_primitive-lambda_function/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchbynttdata%2Ftf-aws-module_primitive-lambda_function/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchbynttdata%2Ftf-aws-module_primitive-lambda_function/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/launchbynttdata","download_url":"https://codeload.github.com/launchbynttdata/tf-aws-module_primitive-lambda_function/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchbynttdata%2Ftf-aws-module_primitive-lambda_function/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33180365,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","infrastructure-as-code","platform-automation","primitive","terraform"],"created_at":"2024-11-09T06:07:30.051Z","updated_at":"2026-05-18T14:08:48.749Z","avatar_url":"https://github.com/launchbynttdata.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tf-aws-module_primitive-lambda_function\n\n[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![License: CC BY-NC-ND 4.0](https://img.shields.io/badge/License-CC_BY--NC--ND_4.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nc-nd/4.0/)\n\n## Overview\n\nProvisions a Lambda Function.\n\n## Pre-Commit hooks\n\n[.pre-commit-config.yaml](.pre-commit-config.yaml) file defines certain `pre-commit` hooks that are relevant to terraform, golang and common linting tasks. There are no custom hooks added.\n\n`commitlint` hook enforces commit message in certain format. The commit contains the following structural elements, to communicate intent to the consumers of your commit messages:\n\n- **fix**: a commit of the type `fix` patches a bug in your codebase (this correlates with PATCH in Semantic Versioning).\n- **feat**: a commit of the type `feat` introduces a new feature to the codebase (this correlates with MINOR in Semantic Versioning).\n- **BREAKING CHANGE**: a commit that has a footer `BREAKING CHANGE:`, or appends a `!` after the type/scope, introduces a breaking API change (correlating with MAJOR in Semantic Versioning). A BREAKING CHANGE can be part of commits of any type.\nfooters other than BREAKING CHANGE: \u003cdescription\u003e may be provided and follow a convention similar to git trailer format.\n- **build**: a commit of the type `build` adds changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)\n- **chore**: a commit of the type `chore` adds changes that don't modify src or test files\n- **ci**: a commit of the type `ci` adds changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)\n- **docs**: a commit of the type `docs` adds documentation only changes\n- **perf**: a commit of the type `perf` adds code change that improves performance\n- **refactor**: a commit of the type `refactor` adds code change that neither fixes a bug nor adds a feature\n- **revert**: a commit of the type `revert` reverts a previous commit\n- **style**: a commit of the type `style` adds code changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)\n- **test**: a commit of the type `test` adds missing tests or correcting existing tests\n\nBase configuration used for this project is [commitlint-config-conventional (based on the Angular convention)](https://github.com/conventional-changelog/commitlint/tree/master/@commitlint/config-conventional#type-enum)\n\nIf you are a developer using vscode, [this](https://marketplace.visualstudio.com/items?itemName=joshbolduc.commitlint) plugin may be helpful.\n\n`detect-secrets-hook` prevents new secrets from being introduced into the baseline. TODO: INSERT DOC LINK ABOUT HOOKS\n\nIn order for `pre-commit` hooks to work properly\n\n- You need to have the pre-commit package manager installed. [Here](https://pre-commit.com/#install) are the installation instructions.\n- `pre-commit` would install all the hooks when commit message is added by default except for `commitlint` hook. `commitlint` hook would need to be installed manually using the command below\n\n```\npre-commit install --hook-type commit-msg\n```\n\n## To test the resource group module locally\n\n1. For development/enhancements to this module locally, you'll need to install all of its components. This is controlled by the `configure` target in the project's [`Makefile`](./Makefile). Before you can run `configure`, familiarize yourself with the variables in the `Makefile` and ensure they're pointing to the right places.\n\n```\nmake configure\n```\n\nThis adds in several files and directories that are ignored by `git`. They expose many new Make targets.\n\n2. _THIS STEP APPLIES ONLY TO MICROSOFT AZURE. IF YOU ARE USING A DIFFERENT PLATFORM PLEASE SKIP THIS STEP._ The first target you care about is `env`. This is the common interface for setting up environment variables. The values of the environment variables will be used to authenticate with cloud provider from local development workstation.\n\n`make configure` command will bring down `azure_env.sh` file on local workstation. Devloper would need to modify this file, replace the environment variable values with relevant values.\n\nThese environment variables are used by `terratest` integration suit.\n\nService principle used for authentication(value of ARM_CLIENT_ID) should have below privileges on resource group within the subscription.\n\n```\n\"Microsoft.Resources/subscriptions/resourceGroups/write\"\n\"Microsoft.Resources/subscriptions/resourceGroups/read\"\n\"Microsoft.Resources/subscriptions/resourceGroups/delete\"\n```\n\nThen run this make target to set the environment variables on developer workstation.\n\n```\nmake env\n```\n\n3. The first target you care about is `check`.\n\n**Pre-requisites**\nBefore running this target it is important to ensure that, developer has created files mentioned below on local workstation under root directory of git repository that contains code for primitives/segments. Note that these files are `azure` specific. If primitive/segment under development uses any other cloud provider than azure, this section may not be relevant.\n\n- A file named `provider.tf` with contents below\n\n```\nprovider \"azurerm\" {\n  features {}\n}\n```\n\n- A file named `terraform.tfvars` which contains key value pair of variables used.\n\nNote that since these files are added in `gitignore` they would not be checked in into primitive/segment's git repo.\n\nAfter creating these files, for running tests associated with the primitive/segment, run\n\n```\nmake check\n```\n\nIf `make check` target is successful, developer is good to commit the code to primitive/segment's git repo.\n\n`make check` target\n\n- runs `terraform commands` to `lint`,`validate` and `plan` terraform code.\n- runs `conftests`. `conftests` make sure `policy` checks are successful.\n- runs `terratest`. This is integration test suit.\n- runs `opa` tests\n\u003c!-- BEGIN_TF_DOCS --\u003e\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | ~\u003e 1.5 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | ~\u003e 5.14 |\n\n## Providers\n\nNo providers.\n\n## Modules\n\n| Name | Source | Version |\n|------|--------|---------|\n| \u003ca name=\"module_lambda_function\"\u003e\u003c/a\u003e [lambda\\_function](#module\\_lambda\\_function) | terraform-aws-modules/lambda/aws | ~\u003e 7.4 |\n\n## Resources\n\nNo resources.\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | The name of this Lambda Function | `string` | n/a | yes |\n| \u003ca name=\"input_description\"\u003e\u003c/a\u003e [description](#input\\_description) | Description of your Lambda Function | `string` | `\"\"` | no |\n| \u003ca name=\"input_handler\"\u003e\u003c/a\u003e [handler](#input\\_handler) | Lambda Function entrypoint in your code | `string` | `\"index.lambda_handler\"` | no |\n| \u003ca name=\"input_runtime\"\u003e\u003c/a\u003e [runtime](#input\\_runtime) | Lambda Function runtime | `string` | `\"python3.9\"` | no |\n| \u003ca name=\"input_architectures\"\u003e\u003c/a\u003e [architectures](#input\\_architectures) | (Optional) Instruction set architecture for your Lambda function. Valid architectures are x86\\_64 (default) and arm64. | `list(string)` | \u003cpre\u003e[\u003cbr/\u003e  \"x86_64\"\u003cbr/\u003e]\u003c/pre\u003e | no |\n| \u003ca name=\"input_publish\"\u003e\u003c/a\u003e [publish](#input\\_publish) | Whether to publish creation/change as new Lambda Function Version. | `bool` | `true` | no |\n| \u003ca name=\"input_ephemeral_storage_size\"\u003e\u003c/a\u003e [ephemeral\\_storage\\_size](#input\\_ephemeral\\_storage\\_size) | mount of ephemeral storage (/tmp) in MB your Lambda Function can use at runtime. Valid values are between 512 MB to 10,240 MB (10 GB). | `number` | `512` | no |\n| \u003ca name=\"input_environment_variables\"\u003e\u003c/a\u003e [environment\\_variables](#input\\_environment\\_variables) | A map that defines environment variables for the Lambda Function. | `map(string)` | `{}` | no |\n| \u003ca name=\"input_memory_size\"\u003e\u003c/a\u003e [memory\\_size](#input\\_memory\\_size) | Amount of memory in MB your Lambda Function can use at runtime. Valid values are between 128 MB to 10,240 MB (10 GB), in 64 MB increments. | `number` | `128` | no |\n| \u003ca name=\"input_timeout\"\u003e\u003c/a\u003e [timeout](#input\\_timeout) | The amount of time your Lambda Function has to run in seconds. The maximum lifetime of a Lambda function execution is 15 minutes (900 seconds). | `number` | `3` | no |\n| \u003ca name=\"input_create_package\"\u003e\u003c/a\u003e [create\\_package](#input\\_create\\_package) | Controls whether Lambda package should be created | `bool` | `false` | no |\n| \u003ca name=\"input_source_path\"\u003e\u003c/a\u003e [source\\_path](#input\\_source\\_path) | The absolute path to a local file or directory containing your Lambda source code. Only valid if `create_package` is set to `true`. | `any` | `null` | no |\n| \u003ca name=\"input_zip_file_path\"\u003e\u003c/a\u003e [zip\\_file\\_path](#input\\_zip\\_file\\_path) | Path of the source zip file with respect to module root | `string` | `null` | no |\n| \u003ca name=\"input_store_on_s3\"\u003e\u003c/a\u003e [store\\_on\\_s3](#input\\_store\\_on\\_s3) | Whether to store produced artifacts on S3 or locally. | `bool` | `false` | no |\n| \u003ca name=\"input_s3_existing_package\"\u003e\u003c/a\u003e [s3\\_existing\\_package](#input\\_s3\\_existing\\_package) | The S3 bucket object with keys bucket, key, version pointing to an existing zip-file to use. Only valid if `create_package` is set to `false`. | `map(string)` | `null` | no |\n| \u003ca name=\"input_s3_bucket\"\u003e\u003c/a\u003e [s3\\_bucket](#input\\_s3\\_bucket) | S3 bucket to store artifacts. Required if `store_on_s3` is set to `true`, ignored otherwise. | `string` | `null` | no |\n| \u003ca name=\"input_s3_prefix\"\u003e\u003c/a\u003e [s3\\_prefix](#input\\_s3\\_prefix) | Directory name where artifacts should be stored in the S3 bucket. Defaults to `builds`. Required if `store_on_s3` is set to `true`, ignored otherwise. | `string` | `\"builds\"` | no |\n| \u003ca name=\"input_layers\"\u003e\u003c/a\u003e [layers](#input\\_layers) | List of Lambda Layer Version ARNs (maximum of 5) to attach to your Lambda Function. | `list(string)` | `null` | no |\n| \u003ca name=\"input_hash_extra\"\u003e\u003c/a\u003e [hash\\_extra](#input\\_hash\\_extra) | The string to add into hashing function. Useful when building same source path for different functions. | `string` | `\"\"` | no |\n| \u003ca name=\"input_ignore_source_code_hash\"\u003e\u003c/a\u003e [ignore\\_source\\_code\\_hash](#input\\_ignore\\_source\\_code\\_hash) | Whether to ignore changes to the function's source code hash. Set to true if you manage infrastructure and code deployments separately. | `bool` | `false` | no |\n| \u003ca name=\"input_authorization_type\"\u003e\u003c/a\u003e [authorization\\_type](#input\\_authorization\\_type) | The type of authentication that the Lambda Function URL uses. Set to `AWS_IAM` to restrict access to authenticated IAM users only. Set to `NONE` to bypass IAM authentication and create a public endpoint (default). | `string` | `\"NONE\"` | no |\n| \u003ca name=\"input_cors\"\u003e\u003c/a\u003e [cors](#input\\_cors) | CORS settings to be used by the Lambda Function URL | \u003cpre\u003eobject({\u003cbr/\u003e    allow_credentials = optional(bool, false)\u003cbr/\u003e    allow_headers     = optional(list(string), null)\u003cbr/\u003e    allow_methods     = optional(list(string), null)\u003cbr/\u003e    allow_origins     = optional(list(string), null)\u003cbr/\u003e    expose_headers    = optional(list(string), null)\u003cbr/\u003e    max_age           = optional(number, 0)\u003cbr/\u003e  })\u003c/pre\u003e | `{}` | no |\n| \u003ca name=\"input_create_lambda_function_url\"\u003e\u003c/a\u003e [create\\_lambda\\_function\\_url](#input\\_create\\_lambda\\_function\\_url) | Whether the Lambda Function URL resource should be created (default true). | `bool` | `true` | no |\n| \u003ca name=\"input_invoke_mode\"\u003e\u003c/a\u003e [invoke\\_mode](#input\\_invoke\\_mode) | Invoke mode of the Lambda Function URL. Valid values are `BUFFERED` (default) and `RESPONSE_STREAM`. | `string` | `\"BUFFERED\"` | no |\n| \u003ca name=\"input_attach_policy_statements\"\u003e\u003c/a\u003e [attach\\_policy\\_statements](#input\\_attach\\_policy\\_statements) | Controls whether `policy_statements` should be added to IAM role for Lambda Function | `bool` | `false` | no |\n| \u003ca name=\"input_policy_statements\"\u003e\u003c/a\u003e [policy\\_statements](#input\\_policy\\_statements) | Map of dynamic policy statements to attach to Lambda Function role | `any` | `{}` | no |\n| \u003ca name=\"input_attach_policy\"\u003e\u003c/a\u003e [attach\\_policy](#input\\_attach\\_policy) | Controls whether `policy` should be added to IAM role for Lambda Function | `bool` | `false` | no |\n| \u003ca name=\"input_policy\"\u003e\u003c/a\u003e [policy](#input\\_policy) | Policy statement ARN to attach to Lambda Function role | `string` | `null` | no |\n| \u003ca name=\"input_attach_policies\"\u003e\u003c/a\u003e [attach\\_policies](#input\\_attach\\_policies) | Controls whether `policies` should be added to IAM role for Lambda Function | `bool` | `false` | no |\n| \u003ca name=\"input_policies\"\u003e\u003c/a\u003e [policies](#input\\_policies) | List of policy statement ARNs to attach to Lambda Function role | `list(string)` | `[]` | no |\n| \u003ca name=\"input_attach_policy_json\"\u003e\u003c/a\u003e [attach\\_policy\\_json](#input\\_attach\\_policy\\_json) | Controls whether `policy_json` should be added to IAM role for Lambda Function | `bool` | `false` | no |\n| \u003ca name=\"input_policy_json\"\u003e\u003c/a\u003e [policy\\_json](#input\\_policy\\_json) | An additional policy document as JSON to attach to the Lambda Function role | `string` | `null` | no |\n| \u003ca name=\"input_attach_policy_jsons\"\u003e\u003c/a\u003e [attach\\_policy\\_jsons](#input\\_attach\\_policy\\_jsons) | Controls whether `policy_jsons` should be added to IAM role for Lambda Function | `bool` | `false` | no |\n| \u003ca name=\"input_policy_jsons\"\u003e\u003c/a\u003e [policy\\_jsons](#input\\_policy\\_jsons) | An additional policy documents as JSON to attach to the Lambda Function role | `list(string)` | `[]` | no |\n| \u003ca name=\"input_attach_dead_letter_policy\"\u003e\u003c/a\u003e [attach\\_dead\\_letter\\_policy](#input\\_attach\\_dead\\_letter\\_policy) | Controls whether SNS/SQS dead letter notification policy should be added to IAM role for Lambda Function. Defaults to `false`. | `bool` | `false` | no |\n| \u003ca name=\"input_dead_letter_target_arn\"\u003e\u003c/a\u003e [dead\\_letter\\_target\\_arn](#input\\_dead\\_letter\\_target\\_arn) | The ARN of an SNS topic or SQS queue to notify when an invocation fails. | `string` | `null` | no |\n| \u003ca name=\"input_attach_network_policy\"\u003e\u003c/a\u003e [attach\\_network\\_policy](#input\\_attach\\_network\\_policy) | Controls whether VPC/network policy should be added to IAM role for Lambda Function | `bool` | `false` | no |\n| \u003ca name=\"input_attach_async_event_policy\"\u003e\u003c/a\u003e [attach\\_async\\_event\\_policy](#input\\_attach\\_async\\_event\\_policy) | Controls whether async event policy should be added to IAM role for Lambda Function | `bool` | `false` | no |\n| \u003ca name=\"input_attach_tracing_policy\"\u003e\u003c/a\u003e [attach\\_tracing\\_policy](#input\\_attach\\_tracing\\_policy) | Controls whether X-Ray tracing policy should be added to IAM role for Lambda Function | `bool` | `false` | no |\n| \u003ca name=\"input_assume_role_policy_statements\"\u003e\u003c/a\u003e [assume\\_role\\_policy\\_statements](#input\\_assume\\_role\\_policy\\_statements) | Map of dynamic policy statements for assuming Lambda Function role (trust relationship) | `map(string)` | `{}` | no |\n| \u003ca name=\"input_trusted_entities\"\u003e\u003c/a\u003e [trusted\\_entities](#input\\_trusted\\_entities) | List of additional trusted entities for assuming Lambda Function role (trust relationship) | `any` | `[]` | no |\n| \u003ca name=\"input_allowed_triggers\"\u003e\u003c/a\u003e [allowed\\_triggers](#input\\_allowed\\_triggers) | Map of allowed triggers to create Lambda permissions | `map(any)` | `{}` | no |\n| \u003ca name=\"input_attach_cloudwatch_logs_policy\"\u003e\u003c/a\u003e [attach\\_cloudwatch\\_logs\\_policy](#input\\_attach\\_cloudwatch\\_logs\\_policy) | Controls whether CloudWatch Logs policy should be added to IAM role for Lambda Function | `bool` | `true` | no |\n| \u003ca name=\"input_attach_create_log_group_permission\"\u003e\u003c/a\u003e [attach\\_create\\_log\\_group\\_permission](#input\\_attach\\_create\\_log\\_group\\_permission) | Controls whether to add the create log group permission to the CloudWatch logs policy | `bool` | `true` | no |\n| \u003ca name=\"input_cloudwatch_logs_kms_key_id\"\u003e\u003c/a\u003e [cloudwatch\\_logs\\_kms\\_key\\_id](#input\\_cloudwatch\\_logs\\_kms\\_key\\_id) | The ARN of the KMS Key to use when encrypting log data. | `string` | `null` | no |\n| \u003ca name=\"input_cloudwatch_logs_log_group_class\"\u003e\u003c/a\u003e [cloudwatch\\_logs\\_log\\_group\\_class](#input\\_cloudwatch\\_logs\\_log\\_group\\_class) | Specified the log class of the log group. Possible values are: `STANDARD` (default) or `INFREQUENT_ACCESS` | `string` | `\"STANDARD\"` | no |\n| \u003ca name=\"input_cloudwatch_logs_retention_in_days\"\u003e\u003c/a\u003e [cloudwatch\\_logs\\_retention\\_in\\_days](#input\\_cloudwatch\\_logs\\_retention\\_in\\_days) | Specifies the number of days you want to retain log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653. Defaults to 30. | `number` | `30` | no |\n| \u003ca name=\"input_cloudwatch_logs_skip_destroy\"\u003e\u003c/a\u003e [cloudwatch\\_logs\\_skip\\_destroy](#input\\_cloudwatch\\_logs\\_skip\\_destroy) | Whether to keep the log group (and any logs it may contain) at destroy time. Defaults to false. | `bool` | `false` | no |\n| \u003ca name=\"input_cloudwatch_logs_tags\"\u003e\u003c/a\u003e [cloudwatch\\_logs\\_tags](#input\\_cloudwatch\\_logs\\_tags) | A map of tags to assign to the logs resource. | `map(string)` | `{}` | no |\n| \u003ca name=\"input_tracing_mode\"\u003e\u003c/a\u003e [tracing\\_mode](#input\\_tracing\\_mode) | Tracing mode of the Lambda Function. Valid value can be either PassThrough (default) or Active. | `string` | `\"PassThrough\"` | no |\n| \u003ca name=\"input_vpc_security_group_ids\"\u003e\u003c/a\u003e [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 |\n| \u003ca name=\"input_vpc_subnet_ids\"\u003e\u003c/a\u003e [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 |\n| \u003ca name=\"input_lambda_at_edge\"\u003e\u003c/a\u003e [lambda\\_at\\_edge](#input\\_lambda\\_at\\_edge) | Set this to true if using Lambda@Edge, to enable publishing, limit the timeout, and allow edgelambda.amazonaws.com to invoke the function | `bool` | `false` | no |\n| \u003ca name=\"input_lambda_at_edge_logs_all_regions\"\u003e\u003c/a\u003e [lambda\\_at\\_edge\\_logs\\_all\\_regions](#input\\_lambda\\_at\\_edge\\_logs\\_all\\_regions) | Whether to specify a wildcard in IAM policy used by Lambda@Edge to allow logging in all regions | `bool` | `true` | no |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | Map of tags to apply to this resource. | `map(string)` | `{}` | no |\n| \u003ca name=\"input_create\"\u003e\u003c/a\u003e [create](#input\\_create) | Controls whether resources should be created. | `bool` | `false` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_lambda_function_arn\"\u003e\u003c/a\u003e [lambda\\_function\\_arn](#output\\_lambda\\_function\\_arn) | n/a |\n| \u003ca name=\"output_lambda_function_name\"\u003e\u003c/a\u003e [lambda\\_function\\_name](#output\\_lambda\\_function\\_name) | n/a |\n| \u003ca name=\"output_lambda_cloudwatch_log_group_arn\"\u003e\u003c/a\u003e [lambda\\_cloudwatch\\_log\\_group\\_arn](#output\\_lambda\\_cloudwatch\\_log\\_group\\_arn) | n/a |\n| \u003ca name=\"output_lambda_cloudwatch_log_group_name\"\u003e\u003c/a\u003e [lambda\\_cloudwatch\\_log\\_group\\_name](#output\\_lambda\\_cloudwatch\\_log\\_group\\_name) | n/a |\n| \u003ca name=\"output_lambda_function_url\"\u003e\u003c/a\u003e [lambda\\_function\\_url](#output\\_lambda\\_function\\_url) | n/a |\n| \u003ca name=\"output_lambda_role_arn\"\u003e\u003c/a\u003e [lambda\\_role\\_arn](#output\\_lambda\\_role\\_arn) | n/a |\n| \u003ca name=\"output_lambda_role_name\"\u003e\u003c/a\u003e [lambda\\_role\\_name](#output\\_lambda\\_role\\_name) | n/a |\n\u003c!-- END_TF_DOCS --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaunchbynttdata%2Ftf-aws-module_primitive-lambda_function","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaunchbynttdata%2Ftf-aws-module_primitive-lambda_function","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaunchbynttdata%2Ftf-aws-module_primitive-lambda_function/lists"}