Skip to content

Commit

Permalink
Merge pull request #180 from domain-protect/python-12
Browse files Browse the repository at this point in the history
Upgrade to Python 3.12
  • Loading branch information
paulschwarzenberger authored Jan 5, 2025
2 parents 69f7fec + 4ef428a commit f440cc0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ This tool cannot guarantee 100% protection against subdomain takeovers.
| <a name="input_ip_time_limit"></a> [ip\_time\_limit](#input\_ip\_time\_limit) | maximum time in hours since IP last detected, before considering IP as no longer belonging to organisation | `string` | `"48"` | no |
| <a name="input_lambdas"></a> [lambdas](#input\_lambdas) | list of names of Lambda files in the lambda/code folder | `list(any)` | <pre>[<br/> "current",<br/> "update"<br/>]</pre> | no |
| <a name="input_memory_size"></a> [memory\_size](#input\_memory\_size) | Memory allocation for scanning Lambda functions | `number` | `128` | no |
| <a name="input_memory_size_ip"></a> [memory\_size\_ip](#input\_memory\_size\_ip) | Memory allocation for scan IP Lambda functions | `number` | `256` | no |
| <a name="input_memory_size_slack"></a> [memory\_size\_slack](#input\_memory\_size\_slack) | Memory allocation for Slack Lambda functions | `number` | `128` | no |
| <a name="input_org_primary_account"></a> [org\_primary\_account](#input\_org\_primary\_account) | The AWS account number of the organization primary account | `string` | n/a | yes |
| <a name="input_permissions_boundary_arn"></a> [permissions\_boundary\_arn](#input\_permissions\_boundary\_arn) | permissions boundary ARN to attach to every IAM role | `string` | `null` | no |
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ module "lambda_scan_ips" {
lambdas = ["scan-ips"]
runtime = local.runtime
platform = var.platform
memory_size = var.memory_size
memory_size = var.memory_size_ip
project = var.project
security_audit_role_name = var.security_audit_role_name
external_id = var.external_id
Expand Down
2 changes: 1 addition & 1 deletion python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.11
3.12
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@ variable "memory_size" {
type = number
}

variable "memory_size_ip" {
description = "Memory allocation for scan IP Lambda functions"
default = 256
type = number
}

variable "memory_size_slack" {
description = "Memory allocation for Slack Lambda functions"
default = 128
Expand Down

0 comments on commit f440cc0

Please sign in to comment.