diff --git a/README.md b/README.md index 6b0a860..3df345b 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ No modules. | [lambda\_iam\_role\_arn](#input\_lambda\_iam\_role\_arn) | ARN of IAM role to use for Lambda | `string` | `""` | no | | [lambda\_s3\_custom\_rules](#input\_lambda\_s3\_custom\_rules) | List of rules to evaluate how to upload a given S3 object to Observe |
list(object({
pattern = string
headers = map(string)
}))
| `[]` | no | | [lambda\_version](#input\_lambda\_version) | Version of lambda binary to use | `string` | `"arm64/latest"` | no | -| [memory\_size](#input\_memory\_size) | The amount of memory that your function has access to. Increasing the function's memory also increases its CPU allocation.
The default value is 128 MB. The value must be a multiple of 64 MB. | `number` | `128` | no | +| [memory\_size](#input\_memory\_size) | The amount of memory that your function has access to. Increasing the function's memory also increases its CPU allocation.
The value must be a multiple of 64 MB. The maximum is 10,240 MB. | `number` | `2048` | no | | [name](#input\_name) | Name of Lambda resource | `string` | n/a | yes | | [observe\_collection\_endpoint](#input\_observe\_collection\_endpoint) | Observe Collection Endpoint, e.g https://123456789012.collect.observeinc.com | `string` | `null` | no | | [observe\_customer](#input\_observe\_customer) | Observe Customer ID. Deprecated, please use observe\_collection\_endpoint instead | `string` | `null` | no | @@ -88,7 +88,7 @@ No modules. | [s3\_object\_version](#input\_s3\_object\_version) | S3 object version for lambda binary | `string` | `""` | no | | [s3\_regional\_buckets](#input\_s3\_regional\_buckets) | Map of AWS regions to lambda hosting S3 buckets | `map(any)` | `{}` | no | | [tags](#input\_tags) | A map of tags to add to all resources | `map(string)` | `{}` | no | -| [timeout](#input\_timeout) | The amount of time that Lambda allows a function to run before stopping it.
The maximum allowed value is 900 seconds. | `number` | `60` | no | +| [timeout](#input\_timeout) | The amount of time that Lambda allows a function to run before stopping it.
The maximum allowed value is 900 seconds. | `number` | `120` | no | | [vpc\_config](#input\_vpc\_config) | VPC Config |
object({
security_groups = list(object({
id = string
}))
subnets = list(object({
arn = string
id = string
}))
})
| `null` | no | ## Outputs diff --git a/variables.tf b/variables.tf index 2e1038a..c9d327f 100644 --- a/variables.tf +++ b/variables.tf @@ -98,11 +98,11 @@ variable "description" { variable "memory_size" { description = <<-EOF The amount of memory that your function has access to. Increasing the function's memory also increases its CPU allocation. - The default value is 128 MB. The value must be a multiple of 64 MB. + The value must be a multiple of 64 MB. The maximum is 10,240 MB. EOF type = number nullable = false - default = 128 + default = 2048 } variable "timeout" { @@ -112,7 +112,7 @@ variable "timeout" { EOF type = number nullable = false - default = 60 + default = 120 } variable "reserved_concurrent_executions" {