@@ -21,18 +21,17 @@ This module provides a Lambda function which logs to CloudWatch. If no image URI
2121
2222## Inputs
2323
24- | Name | Description | Type | Default | Required |
25- | ------------- | ----------------------------------------------------------------------------------------------------- | -------------- | ------- | :------: |
26- | identifier | Unique identifier to differentiate global resources. | ` string ` | n/a | yes |
27- | name | Name of this module, which is used as identifier on all resources. | ` string ` | "" | no |
28- | policies | List of IAM policy ARNs for the Lambda's IAM role. | ` list(string) ` | [ ] | no |
29- | vpc_config | Object to define the subnets and security groups for the Lambda function. | ` object ` | null | no |
30- | log | A flag for make the Lambda function submit logs to CloudWatch. | ` bool ` | false | no |
31- | image_uri | URI of the image which will be pulled by the Lambda function to execute. | ` string ` | "" | no |
32- | memory_size | Amount of memory in MB the Lambda function can use at runtime. | ` number ` | 128 | no |
33- | timeout | Amount of time the Lambda function has to run in seconds. | ` number ` | 3 | no |
34- | env_variables | A map of environment variables for the Lambda function at runtime. | ` map(string) ` | {} | no |
35- | tags | A map of tags to add to all resources. Name is always set as tag and the other tags will be appended. | ` map(string) ` | {} | no |
24+ | Name | Description | Type | Default | Required |
25+ | ------------- | ------------------------------------------------------------------------- | -------------- | ------- | :------: |
26+ | identifier | Unique identifier to differentiate global resources. | ` string ` | n/a | yes |
27+ | policies | List of IAM policy ARNs for the Lambda's IAM role. | ` list(string) ` | [ ] | no |
28+ | vpc_config | Object to define the subnets and security groups for the Lambda function. | ` object ` | null | no |
29+ | log | A flag for make the Lambda function submit logs to CloudWatch. | ` bool ` | false | no |
30+ | image_uri | URI of the image which will be pulled by the Lambda function to execute. | ` string ` | "" | no |
31+ | memory_size | Amount of memory in MB the Lambda function can use at runtime. | ` number ` | 128 | no |
32+ | timeout | Amount of time the Lambda function has to run in seconds. | ` number ` | 3 | no |
33+ | env_variables | A map of environment variables for the Lambda function at runtime. | ` map(string) ` | {} | no |
34+ | tags | A map of tags to add to all resources. | ` map(string) ` | {} | no |
3635
3736### ` vpc_config `
3837
@@ -54,7 +53,6 @@ module "function" {
5453 source = "github.com/custom-terraform-aws-modules/function"
5554
5655 identifier = "example-function-dev"
57- name = "example-function"
5856 policies = [
5957 "arn:aws:iam::aws:policy/aws-service-role/AccessAnalyzerServiceRolePolicy",
6058 "arn:aws:iam::aws:policy/AdministratorAccess-Amplify"
0 commit comments