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/main.tf b/main.tf
index 56e675b..df3f9c9 100644
--- a/main.tf
+++ b/main.tf
@@ -20,9 +20,9 @@ locals {
},
split("/", var.lambda_version)[0],
{
- architectures = null
- handler = "main"
- runtime = "go1.x"
+ architectures = ["arm64"]
+ handler = "bootstrap"
+ runtime = "provided.al2"
},
)
}
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
}