From de79526f3ec7dbe8277b3fdf8689be788bf1c610 Mon Sep 17 00:00:00 2001 From: jack-nhs Date: Thu, 21 Nov 2024 16:50:39 +0000 Subject: [PATCH] adds more memory to TokenRequest and SearchPatientDetailsLambda (#210) Co-authored-by: Jack Sutton --- infrastructure/README.md | 4 ++-- infrastructure/lambda-search-patient.tf | 2 +- infrastructure/lambda-token.tf | 2 +- infrastructure/modules/ecs/README.md | 2 +- virusscanner/terraform/README.md | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/infrastructure/README.md b/infrastructure/README.md index 847f4aba..c2afb052 100644 --- a/infrastructure/README.md +++ b/infrastructure/README.md @@ -8,7 +8,7 @@ | Name | Version | |------|---------| -| [aws](#provider\_aws) | 5.66.0 | +| [aws](#provider\_aws) | 5.73.0 | ## Modules @@ -278,7 +278,7 @@ |------|-------------|------|---------|:--------:| | [auth\_session\_dynamodb\_table\_name](#input\_auth\_session\_dynamodb\_table\_name) | The name of dynamodb table to store user login sessions | `string` | `"AuthSessionReferenceMetadata"` | no | | [auth\_state\_dynamodb\_table\_name](#input\_auth\_state\_dynamodb\_table\_name) | The name of dynamodb table to store the state values (for CIS2 authorisation) | `string` | `"AuthStateReferenceMetadata"` | no | -| [availability\_zones](#input\_availability\_zones) | This is a list that specifies all the Availability Zones that will have a pair of public and private subnets | `list(string)` |
[
"eu-west-2a",
"eu-west-2b",
"eu-west-2c"
]
| no | +| [availability\_zones](#input\_availability\_zones) | This is a list that specifies all the Availability Zones that will have a pair of public and private subnets | `list(string)` |
[
"eu-west-2a",
"eu-west-2b",
"eu-west-2c"
]
| no | | [bulk\_upload\_report\_dynamodb\_table\_name](#input\_bulk\_upload\_report\_dynamodb\_table\_name) | The name of dynamodb table to store bulk upload status | `string` | `"BulkUploadReport"` | no | | [certificate\_domain](#input\_certificate\_domain) | n/a | `string` | n/a | yes | | [certificate\_subdomain\_name\_prefix](#input\_certificate\_subdomain\_name\_prefix) | Prefix to add to subdomains on certification configurations, dev envs use api-{env}, prod envs use api.{env} | `string` | `"api-"` | no | diff --git a/infrastructure/lambda-search-patient.tf b/infrastructure/lambda-search-patient.tf index 5cc92e5e..64a05c69 100644 --- a/infrastructure/lambda-search-patient.tf +++ b/infrastructure/lambda-search-patient.tf @@ -75,7 +75,7 @@ module "search-patient-details-lambda" { rest_api_id = aws_api_gateway_rest_api.ndr_doc_store_api.id resource_id = module.search-patient-details-gateway.gateway_resource_id http_methods = ["GET"] - memory_size = 256 + memory_size = 1769 lambda_environment_variables = { APPCONFIG_APPLICATION = module.ndr-app-config.app_config_application_id APPCONFIG_ENVIRONMENT = module.ndr-app-config.app_config_environment_id diff --git a/infrastructure/lambda-token.tf b/infrastructure/lambda-token.tf index 3d9a7e5a..454b1165 100644 --- a/infrastructure/lambda-token.tf +++ b/infrastructure/lambda-token.tf @@ -57,7 +57,7 @@ module "create-token-lambda" { aws_iam_policy.lambda_audit_splunk_sqs_queue_send_policy[0], module.ndr-app-config ] - memory_size = 256 + memory_size = 1769 } module "create_token-alarm" { diff --git a/infrastructure/modules/ecs/README.md b/infrastructure/modules/ecs/README.md index d0ecfecf..990ee670 100644 --- a/infrastructure/modules/ecs/README.md +++ b/infrastructure/modules/ecs/README.md @@ -63,7 +63,7 @@ No modules. | [ecs\_task\_definition\_cpu](#input\_ecs\_task\_definition\_cpu) | n/a | `number` | `1024` | no | | [ecs\_task\_definition\_memory](#input\_ecs\_task\_definition\_memory) | n/a | `number` | `2048` | no | | [environment](#input\_environment) | n/a | `string` | n/a | yes | -| [environment\_vars](#input\_environment\_vars) | n/a | `list` |
[
null
]
| no | +| [environment\_vars](#input\_environment\_vars) | n/a | `list` |
[
null
]
| no | | [is\_autoscaling\_needed](#input\_is\_autoscaling\_needed) | n/a | `bool` | `true` | no | | [is\_lb\_needed](#input\_is\_lb\_needed) | n/a | `bool` | `false` | no | | [is\_service\_needed](#input\_is\_service\_needed) | n/a | `bool` | `true` | no | diff --git a/virusscanner/terraform/README.md b/virusscanner/terraform/README.md index 2cf59bb6..03eb633b 100644 --- a/virusscanner/terraform/README.md +++ b/virusscanner/terraform/README.md @@ -8,7 +8,7 @@ | Name | Version | |------|---------| -| [aws](#provider\_aws) | 5.43.0 | +| [aws](#provider\_aws) | >= 4.0 | ## Modules