diff --git a/README.md b/README.md index f30f799..445fb14 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ default VPC in every region for that account. | [dry\_run](#input\_dry\_run) | Boolean toggle to control the dry-run mode of the lambda function | `bool` | `true` | no | | [event\_bus\_name](#input\_event\_bus\_name) | Event bus name to create event rules in | `string` | `"default"` | no | | [event\_types](#input\_event\_types) | Event types that will trigger this lambda | `set(string)` |
[
"CreateAccountResult",
"InviteAccountToOrganization",
"EnableOptInRegion"
]
| no | -| [lambda](#input\_lambda) | Object of optional attributes passed on to the lambda module |
object({
artifacts_dir = optional(string, "builds")
build_in_docker = optional(bool, false)
create_package = optional(bool, true)
ephemeral_storage_size = optional(number)
ignore_source_code_hash = optional(bool, true)
local_existing_package = optional(string)
memory_size = optional(number, 128)
recreate_missing_package = optional(bool, false)
runtime = optional(string, "python3.8")
s3_bucket = optional(string)
s3_existing_package = optional(map(string))
s3_prefix = optional(string)
store_on_s3 = optional(bool, false)
timeout = optional(number, 300)
})
| `{}` | no | +| [lambda](#input\_lambda) | Object of optional attributes passed on to the lambda module |
object({
artifacts_dir = optional(string, "builds")
build_in_docker = optional(bool, false)
create_package = optional(bool, true)
ephemeral_storage_size = optional(number)
ignore_source_code_hash = optional(bool, true)
local_existing_package = optional(string)
memory_size = optional(number, 128)
recreate_missing_package = optional(bool, false)
runtime = optional(string, "python3.12")
s3_bucket = optional(string)
s3_existing_package = optional(map(string))
s3_prefix = optional(string)
store_on_s3 = optional(bool, false)
timeout = optional(number, 300)
})
| `{}` | no | | [log\_level](#input\_log\_level) | Log level for lambda | `string` | `"INFO"` | no | | [max\_workers](#input\_max\_workers) | Number of worker threads to use to process delete | `number` | `20` | no | | [tags](#input\_tags) | Tags for resource | `map(string)` | `{}` | no | diff --git a/variables.tf b/variables.tf index 85786bd..1ee3ba6 100644 --- a/variables.tf +++ b/variables.tf @@ -54,7 +54,7 @@ variable "lambda" { local_existing_package = optional(string) memory_size = optional(number, 128) recreate_missing_package = optional(bool, false) - runtime = optional(string, "python3.8") + runtime = optional(string, "python3.12") s3_bucket = optional(string) s3_existing_package = optional(map(string)) s3_prefix = optional(string)