diff --git a/README.md b/README.md index b8515b0..e1e175f 100644 --- a/README.md +++ b/README.md @@ -1,34 +1,39 @@ - -

- - +[![Banner](https://github.com/clouddrove/terraform-gcp-vpc/blob/master/docs/CloudDrove.png)][website]

Terraform AWS Lambda

-

- Terraform module to create Lambda resource on AWS for create lambda function. -

+

+ With our comprehensive DevOps toolkit - streamline operations, automate workflows, enhance collaboration and, most importantly, deploy with confidence. +

+

- - Terraform + + Latest Release + + + tfsec Licence - - tfsec + + Changelog +

+ + + @@ -40,23 +45,84 @@


-We eat, drink, sleep and most importantly love **DevOps**. We are working towards strategies for standardizing architecture while ensuring security for the infrastructure. We are strong believer of the philosophy Bigger problems are always solved by breaking them into smaller manageable problems. Resonating with microservices architecture, it is considered best-practice to run database, cluster, storage in smaller connected yet manageable pieces within the infrastructure. +We are a group of DevOps engineers & architects, joining hands in this ever evolving digital landscape. With our strong belief in Automation; just like microservices, always on the lookout to split the the infrastructure into smaller connected resources (database, cluster and more) which could be standardized, are manageable, scalable, secure & follow industry best practices. -This module is basically combination of [Terraform open source](https://www.terraform.io/) and includes automatation tests and examples. It also helps to create and improve your infrastructure with minimalistic code instead of maintaining the whole infrastructure code yourself. -We have [*fifty plus terraform modules*][terraform_modules]. A few of them are comepleted and are available for open source usage while a few others are in progress. +This module includes Terraform open source, examples, and automation tests (for better understanding), which would help you create and improve your infrastructure with minimalistic coding. -## Prerequisites +## Prerequisites and Providers -This module has a few dependencies: +This table contains both Prerequisites and Providers: + +| Description | Name | Version | +|:-------------:|:-------------------------------------------:|:---------:| +| **Prerequisite** | [Terraform](https://learn.hashicorp.com/terraform/getting-started/install.html) | >= 1.6.6 | +| **Provider** | [aws](https://aws.amazon.com/) | >= 5.31.0 | + + + + + +## Examples + +**IMPORTANT:** Since the master branch used in source varies based on new modifications, we recommend using the [release versions](https://github.com/clouddrove/terraform-aws-lambda/releases). + +πŸ“Œ For additional usage examples, check the complete list under [`examples/`](./examples) directory. + + + +## Inputs and Outputs + +Refer to complete documentation: [here](docs/io.md) + + + + + +## Module Dependencies + +This module has dependencies on: +- [Labels Module](https://github.com/clouddrove/terraform-aws-labels): Provides resource tagging. + + +## πŸ“‘ Changelog + +Refer [here](CHANGELOG.md). + + + + +## ✨ Contributors + +Big thanks to our contributors for elevating our project with their dedication and expertise! But, we do not wish to stop there, would like to invite contributions from the community in improving these projects and making them more versatile for better reach. Remember, every bit of contribution is immensely valuable, as, together, we are moving in only 1 direction, i.e. forward. + + + + +
+
+ + If you're considering contributing to our project, here are a few quick guidelines that we have been following (Got a suggestion? We are all ears!): + +- **Fork the Repository:** Create a new branch for your feature or bug fix. +- **Coding Standards:** You know the drill. +- **Clear Commit Messages:** Write clear and concise commit messages to facilitate understanding. +- **Thorough Testing:** Test your changes thoroughly before submitting a pull request. +- **Documentation Updates:** Include relevant documentation updates if your changes impact it. -- [Terraform 1.x.x](https://learn.hashicorp.com/terraform/getting-started/install.html) -- [Go](https://golang.org/doc/install) -- [github.com/stretchr/testify/assert](https://github.com/stretchr/testify) -- [github.com/gruntwork-io/terratest/modules/terraform](https://github.com/gruntwork-io/terratest) @@ -64,181 +130,60 @@ This module has a few dependencies: -## Examples -**IMPORTANT:** Since the `master` branch used in `source` varies based on new modifications, we suggest that you use the release versions [here](https://github.com/clouddrove/terraform-aws-lambda/releases). - - -Here are some examples of how you can use this module in your inventory structure: -### Basic Function -```hcl - module "lambda" { - source = "clouddrove/lambda/aws" - version = "1.3.0" - name = "lambda" - environment = "test" - label_order = ["name","environment"] - enabled = true - filename = "./../../../lambda_function_payload" - handler = "index.handler" - runtime = "nodejs8.10" - variables = { - foo = "bar" - } - } -``` -### Basic S3 Function -```hcl - module "lambda" { - source = "clouddrove/lambda/aws" - version = "1.3.0" - name = "lambda" - environment = "test" - label_order = ["name","environment"] - enabled = true - s3_bucket = "test-s3-backups" - s3_key = "lambda_function_payload.zip" - handler = "index.handler" - runtime = "nodejs8.10" - variables = { - foo = "bar" - } - } -``` -### Complete Function -```hcl - module "lambda" { - source = "clouddrove/lambda/aws" - version = "1.3.0" - - name = "lambda" - environment = "test" - label_order = ["name","environment"] - enabled = true - timeout = 60 - - filename = "./../../lambda/src" - handler = "index.lambda_handler" - runtime = "python3.8" - iam_actions = [ - "logs:CreateLogStream", - "logs:CreateLogGroup", - "logs:PutLogEvents" - ] - names = [ - "python_layer" - ] - layer_filenames = ["./../../lambda/packages/Python3-lambda.zip"] - compatible_runtimes = [ - ["python3.8"] - ] - - statement_ids = [ - "AllowExecutionFromCloudWatch" - ] - actions = [ - "lambda:InvokeFunction" - ] - principals = [ - "events.amazonaws.com" - ] - source_arns = ["arn:aws:events:eu-west-1:xxxxxxxxxxxxx:rule/rulename"] - variables = { - foo = "bar" - } - } -``` - - - - - - -## Inputs - -| Name | Description | Type | Default | Required | -|------|-------------|------|---------|:--------:| -| actions | The AWS Lambda action you want to allow in this statement. (e.g. lambda:InvokeFunction). | `list(any)` | `[]` | no | -| attributes | Additional attributes (e.g. `1`). | `list(any)` | `[]` | no | -| compatible\_runtimes | A list of Runtimes this layer is compatible with. Up to 5 runtimes can be specified. | `list(any)` | `[]` | no | -| delimiter | Delimiter to be used between `organization`, `environment`, `name` and `attributes`. | `string` | `"-"` | no | -| description | Description of what your Lambda Function does. | `string` | `""` | no | -| descriptions | Description of what your Lambda Layer does. | `list(any)` | `[]` | no | -| enabled | Whether to create lambda function. | `bool` | `false` | no | -| enabled\_cloudwatch\_logging | Whether to create create efs file system. | `bool` | `false` | no | -| environment | Environment (e.g. `prod`, `dev`, `staging`). | `string` | `""` | no | -| event\_source\_tokens | The Event Source Token to validate. Used with Alexa Skills. | `list(any)` | `[]` | no | -| filename | The path to the function's deployment package within the local filesystem. If defined, The s3\_-prefixed options cannot be used. | `any` | `null` | no | -| handler | The function entrypoint in your code. | `string` | n/a | yes | -| iam\_actions | The actions for Iam Role Policy. | `list(any)` |
[
"logs:CreateLogStream",
"logs:CreateLogGroup",
"logs:PutLogEvents"
]
| no | -| image\_config\_command | The CMD for the docker image | `list(string)` | `[]` | no | -| image\_config\_entry\_point | The ENTRYPOINT for the docker image | `list(string)` | `[]` | no | -| image\_config\_working\_directory | The working directory for the docker image | `string` | `null` | no | -| kms\_key\_arn | The ARN for the KMS encryption key. | `string` | `""` | no | -| label\_order | Label order, e.g. `name`,`application`. | `list(any)` | `[]` | no | -| layer\_filenames | The path to the function's deployment package within the local filesystem. If defined, The s3\_-prefixed options cannot be used. | `list(any)` | `[]` | no | -| layers | List of Lambda Layer Version ARNs (maximum of 5) to attach to your Lambda Function. | `any` | `null` | no | -| license\_infos | License info for your Lambda Layer. See License Info. | `list(any)` | `[]` | no | -| managedby | ManagedBy, eg 'CloudDrove'. | `string` | `"hello@clouddrove.com"` | no | -| memory\_size | Amount of memory in MB your Lambda Function can use at runtime. Defaults to 128. | `number` | `128` | no | -| name | Name (e.g. `app` or `cluster`). | `string` | `""` | no | -| names | A unique name for your Lambda Layer. | `list(any)` | `[]` | no | -| principals | The principal who is getting this permission. e.g. s3.amazonaws.com, an AWS account ID, or any valid AWS service principal such as events.amazonaws.com or sns.amazonaws.com. | `list(any)` | `[]` | no | -| publish | Whether to publish creation/change as new Lambda Function Version. Defaults to false. | `bool` | `false` | no | -| qualifiers | Query parameter to specify function version or alias name. The permission will then apply to the specific qualified ARN. e.g. arn:aws:lambda:aws-region:acct-id:function:function-name:2 | `list(any)` | `[]` | no | -| repository | Terraform current module repo | `string` | `"https://github.com/clouddrove/terraform-aws-lambda"` | no | -| reserved\_concurrent\_executions | The amount of reserved concurrent executions for this lambda function. A value of 0 disables lambda from being triggered and -1 removes any concurrency limitations. Defaults to Unreserved Concurrency Limits -1. | `number` | `90` | no | -| runtime | Runtimes. | `string` | n/a | yes | -| s3\_bucket | The S3 bucket location containing the function's deployment package. Conflicts with filename. This bucket must reside in the same AWS region where you are creating the Lambda function. | `any` | `null` | no | -| s3\_buckets | The S3 bucket location containing the function's deployment package. Conflicts with filename. This bucket must reside in the same AWS region where you are creating the Lambda function. | `list(any)` | `[]` | no | -| s3\_keies | The S3 key of an object containing the function's deployment package. Conflicts with filename. | `list(any)` | `[]` | no | -| s3\_key | The S3 key of an object containing the function's deployment package. Conflicts with filename. | `any` | `null` | no | -| s3\_object\_version | The object version containing the function's deployment package. Conflicts with filename. | `any` | `null` | no | -| s3\_object\_versions | The object version containing the function's deployment package. Conflicts with filename. | `list(any)` | `[]` | no | -| security\_group\_ids | Security group ids for vpc config. | `list(any)` | `[]` | no | -| source\_accounts | This parameter is used for S3 and SES. The AWS account ID (without a hyphen) of the source owner. | `list(any)` | `[]` | no | -| source\_arns | When granting Amazon S3 or CloudWatch Events permission to invoke your function, you should specify this field with the Amazon Resource Name (ARN) for the S3 Bucket or CloudWatch Events Rule as its value. This ensures that only events generated from the specified bucket or rule can invoke the function. | `list(any)` | `[]` | no | -| statement\_ids | A unique statement identifier. By default generated by Terraform. | `list(any)` | `[]` | no | -| subnet\_ids | Subnet ids for vpc config. | `list(any)` | `[]` | no | -| tags | Additional tags (e.g. map(`BusinessUnit`,`XYZ`). | `map(any)` | `{}` | no | -| timeout | The amount of time your Lambda Function has to run in seconds. Defaults to 3. | `number` | `3` | no | -| variables | A map that defines environment variables for the Lambda function. | `map(any)` | `{}` | no | - -## Outputs - -| Name | Description | -|------|-------------| -| arn | The Amazon Resource Name (ARN) identifying your Lambda Function. | -| tags | A mapping of tags to assign to the resource. | - - - - -## Testing -In this module testing is performed with [terratest](https://github.com/gruntwork-io/terratest) and it creates a small piece of infrastructure, matches the output like ARN, ID and Tags name etc and destroy infrastructure in your AWS account. This testing is written in GO, so you need a [GO environment](https://golang.org/doc/install) in your system. - -You need to run the following command in the testing folder: -```hcl - go test -run Test -``` ## Feedback -If you come accross a bug or have any feedback, please log it in our [issue tracker](https://github.com/clouddrove/terraform-aws-lambda/issues), or feel free to drop us an email at [hello@clouddrove.com](mailto:hello@clouddrove.com). +Spot a bug or have thoughts to share with us? Let's squash it together! Log it in our [issue tracker](https://github.com/clouddrove/terraform-aws-lambda/issues), feel free to drop us an email at [hello@clouddrove.com](mailto:hello@clouddrove.com). + +Show some love with a β˜… on [our GitHub](https://github.com/clouddrove/terraform-aws-lambda)! if our work has brightened your day! – your feedback fuels our journey! + + +## :rocket: Our Accomplishment + +We have [*100+ Terraform modules*][terraform_modules] πŸ™Œ. You could consider them finished, but, with enthusiasts like yourself, we are able to ever improve them, so we call our status - improvement in progress. + +- [Terraform Module Registry:](https://registry.terraform.io/namespaces/clouddrove) Discover our Terraform modules here. + +- [Terraform Modules for AWS/Azure Modules:](https://github.com/clouddrove/toc) Explore our comprehensive Table of Contents for easy navigation through our documentation for modules pertaining to AWS, Azure & GCP. + +- [Terraform Modules for Digital Ocean:](https://github.com/terraform-do-modules/toc) Check out our specialized Terraform modules for Digital Ocean. + + + + +## Join Our Slack Community + +Join our vibrant open-source slack community and embark on an ever-evolving journey with CloudDrove; helping you in moving upwards in your career path. +Join our vibrant Open Source Slack Community and embark on a learning journey with CloudDrove. Grow with us in the world of DevOps and set your career on a path of consistency. + +πŸŒπŸ’¬What you'll get after joining this Slack community: + +- πŸš€ Encouragement to upgrade your best version. +- 🌈 Learning companionship with our DevOps squad. +- 🌱 Relentless growth with daily updates on new advancements in technologies. + +Join our tech elites [Join Now][slack] πŸš€ + + +## Explore Our Blogs -If you have found it worth your time, go ahead and give us a β˜… on [our GitHub](https://github.com/clouddrove/terraform-aws-lambda)! + Click [here][blog] :books: :star2: -## About us +## Tap into our capabilities +We provide a platform for organizations to engage with experienced top-tier DevOps & Cloud services. Tap into our pool of certified engineers and architects to elevate your DevOps and Cloud Solutions. -At [CloudDrove][website], we offer expert guidance, implementation support and services to help organisations accelerate their journey to the cloud. Our services include docker and container orchestration, cloud migration and adoption, infrastructure automation, application modernisation and remediation, and performance engineering. +At [CloudDrove][website], has extensive experience in designing, building & migrating environments, securing, consulting, monitoring, optimizing, automating, and maintaining complex and large modern systems. With remarkable client footprints in American & European corridors, our certified architects & engineers are ready to serve you as per your requirements & schedule. Write to us at [business@clouddrove.com](mailto:business@clouddrove.com).

We are The Cloud Experts!


-

We ❀️ Open Source and you can check out our other modules to get help with your new Cloud ideas.

+

We ❀️ Open Source and you can check out our other modules to get help with your new Cloud ideas.

[website]: https://clouddrove.com + [blog]: https://blog.clouddrove.com + [slack]: https://www.launchpass.com/devops-talks [github]: https://github.com/clouddrove [linkedin]: https://cpco.io/linkedin [twitter]: https://twitter.com/clouddrove/ diff --git a/docs/io.md b/docs/io.md new file mode 100644 index 0000000..b414f30 --- /dev/null +++ b/docs/io.md @@ -0,0 +1,86 @@ +## Inputs + +| Name | Description | Type | Default | Required | +|------|-------------|------|---------|:--------:| +| actions | The AWS Lambda action you want to allow in this statement. (e.g. lambda:InvokeFunction). | `list(any)` | `[]` | no | +| architectures | Instruction set architecture for your Lambda function. Valid values are ["x86\_64"] and ["arm64"]. | `list(string)` | `null` | no | +| assume\_role\_policy | assume role policy document in JSON format | `string` | `"{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Action\": \"sts:AssumeRole\",\n \"Principal\": {\n \"Service\": \"lambda.amazonaws.com\"\n },\n \"Effect\": \"Allow\",\n \"Sid\": \"\"\n }\n ]\n}\n"` | no | +| attach\_cloudwatch\_logs\_policy | Controls whether CloudWatch Logs policy should be added to IAM role for Lambda Function | `bool` | `true` | no | +| attributes | Additional attributes (e.g. `1`). | `list(any)` | `[]` | no | +| aws\_iam\_policy\_path | IAM policy path default value | `string` | `"/"` | no | +| cloudwatch\_logs\_kms\_key\_arn | The arn for the KMS encryption key for cloudwatch log group | `string` | `null` | no | +| 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. | `number` | `null` | no | +| code\_signing\_config\_arn | Amazon Resource Name (ARN) for a Code Signing Configuration | `string` | `null` | no | +| compatible\_architectures | List of Architectures lambda layer is compatible with. Currently x86\_64 and arm64 can be specified. | `list(string)` | `null` | no | +| compatible\_runtimes | A list of Runtimes this layer is compatible with. Up to 5 runtimes can be specified. | `list(any)` | `[]` | no | +| create\_iam\_role | Flag to control creation of iam role and its related resources. | `bool` | `true` | no | +| create\_layers | Flag to control creation of lambda layers. | `bool` | `false` | no | +| dead\_letter\_target\_arn | The ARN of an SNS topic or SQS queue to notify when an invocation fails. | `string` | `null` | no | +| description | Description of what your Lambda Function does. | `string` | `""` | no | +| descriptions | Description of what your Lambda Layer does. | `list(any)` | `[]` | no | +| enable | Whether to create lambda function. | `bool` | `true` | no | +| enable\_key\_rotation | Specifies whether key rotation is enabled. Defaults to true(security best practice) | `bool` | `true` | no | +| enable\_kms | Flag to control creation of kms key for lambda encryption | `bool` | `true` | no | +| enable\_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 | +| environment | Environment (e.g. `prod`, `dev`, `staging`). | `string` | `""` | no | +| ephemeral\_storage\_size | Amount of ephemeral storage (/tmp) in MB your Lambda Function can use at runtime. Valid value between 512 MB to 10,240 MB (10 GB). | `number` | `512` | no | +| event\_source\_tokens | The Event Source Token to validate. Used with Alexa Skills. | `list(any)` | `[]` | no | +| existing\_cloudwatch\_log\_group | Whether to use an existing CloudWatch log group or create new | `bool` | `false` | no | +| existing\_cloudwatch\_log\_group\_name | Name of existing cloudwatch log group. | `string` | `null` | no | +| file\_system\_arn | The Amazon Resource Name (ARN) of the Amazon EFS Access Point that provides access to the file system. | `string` | `null` | no | +| file\_system\_local\_mount\_path | The path where the function can access the file system, starting with /mnt/. | `string` | `null` | no | +| filename | The path to the function's deployment package within the local filesystem. If defined, The s3\_-prefixed options cannot be used. | `string` | `null` | no | +| handler | The function entrypoint in your code. | `string` | n/a | yes | +| iam\_actions | The actions for Iam Role Policy. | `list(any)` |
[
"logs:CreateLogStream",
"logs:CreateLogGroup",
"logs:PutLogEvents"
]
| no | +| iam\_role\_arn | Iam Role arn to be attached to lambda function. | `string` | `null` | no | +| image\_config\_command | The CMD for the docker image | `list(string)` | `[]` | no | +| image\_config\_entry\_point | The ENTRYPOINT for the docker image | `list(string)` | `[]` | no | +| image\_config\_working\_directory | The working directory for the docker image | `string` | `null` | no | +| image\_uri | The ECR image URI containing the function's deployment package. | `string` | `null` | no | +| kms\_key\_deletion\_window | KMS Key deletion window in days. | `number` | `10` | no | +| label\_order | Label order, e.g. `name`,`application`. | `list(any)` |
[
"name",
"environment"
]
| no | +| lambda\_kms\_key\_arn | The ARN for the KMS encryption key. | `string` | `null` | no | +| layer\_filenames | The path to the function's deployment package within the local filesystem. If defined, The s3\_-prefixed options cannot be used. | `list(any)` | `[]` | no | +| layer\_names | A unique name for your Lambda Layer. | `list(any)` | `[]` | no | +| layers | List of Lambda Layer Version ARNs (maximum of 5) to attach to your Lambda Function. | `list(string)` | `null` | no | +| license\_infos | License info for your Lambda Layer. See License Info. | `list(any)` | `[]` | no | +| managedby | ManagedBy, eg 'CloudDrove'. | `string` | `"hello@clouddrove.com"` | no | +| memory\_size | Amount of memory in MB your Lambda Function can use at runtime. Defaults to 128. | `number` | `128` | no | +| name | Name (e.g. `app` or `cluster`). | `string` | `""` | no | +| package\_type | The Lambda deployment package type. Valid options: Zip or Image | `string` | `"Zip"` | no | +| policy\_path | Path of policies to that should be added to IAM role for Lambda Function | `string` | `null` | no | +| principal\_org\_id | The identifier for your organization in AWS Organizations. Use this to grant permissions to all the AWS accounts under this organization. | `string` | `null` | no | +| principals | The principal who is getting this permission. e.g. s3.amazonaws.com, an AWS account ID, or any valid AWS service principal such as events.amazonaws.com or sns.amazonaws.com. | `list(any)` | `[]` | no | +| publish | Whether to publish creation/change as new Lambda Function Version. Defaults to false. | `bool` | `false` | no | +| qualifiers | Query parameter to specify function version or alias name. The permission will then apply to the specific qualified ARN. e.g. arn:aws:lambda:aws-region:acct-id:function:function-name:2 | `list(any)` | `[]` | no | +| repository | Terraform current module repo | `string` | `"https://github.com/clouddrove/terraform-aws-lambda"` | no | +| reserved\_concurrent\_executions | The amount of reserved concurrent executions for this lambda function. A value of 0 disables lambda from being triggered and -1 removes any concurrency limitations. Defaults to Unreserved Concurrency Limits -1. | `number` | `90` | no | +| runtime | Runtimes. | `string` | `"python3.7"` | no | +| s3\_bucket | The S3 bucket location containing the function's deployment package. Conflicts with filename. This bucket must reside in the same AWS region where you are creating the Lambda function. | `string` | `null` | no | +| s3\_buckets | The S3 bucket location containing the function's deployment package. Conflicts with filename. This bucket must reside in the same AWS region where you are creating the Lambda function. | `list(any)` | `[]` | no | +| s3\_keies | The S3 key of an object containing the function's deployment package. Conflicts with filename. | `list(any)` | `[]` | no | +| s3\_key | The S3 key of an object containing the function's deployment package. Conflicts with filename. | `string` | `null` | no | +| s3\_object\_version | The object version containing the function's deployment package. Conflicts with filename. | `string` | `null` | no | +| s3\_object\_versions | The object version containing the function's deployment package. Conflicts with filename. | `list(any)` | `[]` | no | +| security\_group\_ids | Security group ids for vpc config. | `list(any)` | `[]` | no | +| skip\_destroy | Whether to retain the old version of a previously deployed Lambda Layer. | `bool` | `false` | no | +| snap\_start | (Optional) Snap start settings for low-latency startups | `bool` | `false` | no | +| source\_accounts | This parameter is used for S3 and SES. The AWS account ID (without a hyphen) of the source owner. | `list(any)` | `[]` | no | +| source\_arns | When granting Amazon S3 or CloudWatch Events permission to invoke your function, you should specify this field with the Amazon Resource Name (ARN) for the S3 Bucket or CloudWatch Events Rule as its value. This ensures that only events generated from the specified bucket or rule can invoke the function. | `list(any)` | `[]` | no | +| source\_file | Path of source file that is required to be converted in `.zip` file | `string` | `null` | no | +| statement\_ids | A unique statement identifier. By default generated by Terraform. | `list(any)` | `[]` | no | +| subnet\_ids | Subnet ids for vpc config. | `list(any)` | `[]` | no | +| timeout | The amount of time in seconds your Lambda Function will run. Defaults to 3. | `number` | `10` | no | +| tracing\_mode | Tracing mode of the Lambda Function. Valid value can be either PassThrough or Active. | `string` | `null` | no | +| variables | A map that defines environment variables for the Lambda function. | `map(any)` | `{}` | no | + +## Outputs + +| Name | Description | +|------|-------------| +| arn | The Amazon Resource Name (ARN) identifying your Lambda Function. | +| invoke\_arn | Invoke ARN | +| lambda\_log\_group\_name | A mapping of tags to assign to the resource. | +| name | The name of the Lambda Function | +| tags | A mapping of tags to assign to the resource. | +