From 8fd6b3f28bf5213e8ec83041448a4fab80162566 Mon Sep 17 00:00:00 2001 From: obs-gh-colinhutchinson <131207535+obs-gh-colinhutchinson@users.noreply.github.com> Date: Wed, 4 Oct 2023 12:01:12 -0400 Subject: [PATCH] fix: Go 1.x runtime is deprecated (#76) --- README.md | 2 +- variables.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f64592e..6b0a860 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ No modules. | [lambda\_envvars](#input\_lambda\_envvars) | Environment variables | `map(any)` | `{}` | no | | [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` | `"latest"` | 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 | | [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 | diff --git a/variables.tf b/variables.tf index 50d0d8e..2e1038a 100644 --- a/variables.tf +++ b/variables.tf @@ -39,7 +39,7 @@ variable "observe_domain" { variable "lambda_version" { description = "Version of lambda binary to use" type = string - default = "latest" + default = "arm64/latest" nullable = false }