diff --git a/Dockerfile b/Dockerfile index d4fd215..d80ca6b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM plus3it/tardigrade-ci:0.25.3 +FROM plus3it/tardigrade-ci:0.26.0 COPY ./src/requirements.txt /app/requirements/lambda.txt diff --git a/README.md b/README.md index 61bdd23..445fb14 100644 --- a/README.md +++ b/README.md @@ -38,8 +38,8 @@ default VPC in every region for that account. | [aws\_sts\_regional\_endpoints](#input\_aws\_sts\_regional\_endpoints) | Sets AWS STS endpoint resolution logic for boto3. | `string` | `"regional"` | no | | [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)` |
[| no | -| [lambda](#input\_lambda) | Object of optional attributes passed on to the lambda module |
"CreateAccountResult",
"InviteAccountToOrganization",
"EnableOptInRegion"
]
object({| `{}` | no | +| [event\_types](#input\_event\_types) | Event types that will trigger this lambda | `set(string)` |
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 |
"CreateAccountResult",
"InviteAccountToOrganization",
"EnableOptInRegion"
]
object({| `{}` | 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/scripts/create_default_vpc/create_default_vpc.py b/scripts/create_default_vpc/create_default_vpc.py index 7c44b69..fbd2f76 100644 --- a/scripts/create_default_vpc/create_default_vpc.py +++ b/scripts/create_default_vpc/create_default_vpc.py @@ -39,7 +39,7 @@ ) def main( account_id, dry_run, debug, role_session_name, role_to_assume, max_workers -): # pylint: disable=too-many-arguments +): # pylint: disable=too-many-arguments,too-many-positional-arguments """Create default VPC in all regions.""" partition = get_partition() 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)
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)
})