You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* test pr proxy e2e tests
* point to internal branch workflow
* actually point to internal branch workflow for build proxies and run e2e on pr too
* try to fix tests
* Fix tests
* Fix pact tests
* create-letter-batch logs letterIds, e2e read and wait for queue
* env template cleanup
* env template cleanup 2
* smoking out failed tests
* add markers
* npm install
* All tests run
* ci(tests): pass targetAccountGroup through acceptance composite actions
* infra: set shorter letter queue visibility timeout for dev group
* component tests: centralize GET /letters retry handling and update specs
* e2e: map account IDs by target group and block production test execution
* update env template
* env specific lambda runtime env vars
* bump
* revert lockfile
* test with internal branch
* remove internal ref
* address copilot comments
---------
Co-authored-by: Mark Slowey <113013138+masl2@users.noreply.github.com>
# https://pytest-xdist.readthedocs.io/en/stable/known-limitations.html#output-stdout-and-stderr-from-workers means pytest won't print to stdout even with -s
135
+
PYTEST_WORKERS := 4 # set to 0 to see stdout/stderr when debugging e2e tests
Copy file name to clipboardExpand all lines: infrastructure/terraform/components/api/README.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ No requirements.
19
19
| <aname="input_csoc_log_forwarding"></a> [csoc\_log\_forwarding](#input\_csoc\_log\_forwarding)| Enable forwarding of API Gateway logs to CSOC |`bool`|`true`| no |
20
20
| <aname="input_default_tags"></a> [default\_tags](#input\_default\_tags)| A map of default tags to apply to all taggable resources within the component |`map(string)`|`{}`| no |
21
21
| <aname="input_disable_gateway_execute_endpoint"></a> [disable\_gateway\_execute\_endpoint](#input\_disable\_gateway\_execute\_endpoint)| Disable the execution endpoint for the API Gateway |`bool`|`true`| no |
22
+
| <aname="input_download_url_ttl_seconds"></a> [download\_url\_ttl\_seconds](#input\_download\_url\_ttl\_seconds)| TTL in seconds for generated download URLs |`number`|`60`| no |
22
23
| <aname="input_enable_alarms"></a> [enable\_alarms](#input\_enable\_alarms)| Enable CloudWatch alarms for this deployed environment |`bool`|`true`| no |
23
24
| <aname="input_enable_api_data_trace"></a> [enable\_api\_data\_trace](#input\_enable\_api\_data\_trace)| Enable API Gateway data trace logging |`bool`|`false`| no |
24
25
| <aname="input_enable_backups"></a> [enable\_backups](#input\_enable\_backups)| Enable backups |`bool`|`false`| no |
@@ -33,14 +34,18 @@ No requirements.
33
34
| <aname="input_eventpub_data_plane_bus_arn"></a> [eventpub\_data\_plane\_bus\_arn](#input\_eventpub\_data\_plane\_bus\_arn)| ARN of the EventBridge data plane bus for eventpub |`string`|`""`| no |
34
35
| <aname="input_force_destroy"></a> [force\_destroy](#input\_force\_destroy)| Flag to force deletion of S3 buckets |`bool`|`false`| no |
35
36
| <aname="input_force_lambda_code_deploy"></a> [force\_lambda\_code\_deploy](#input\_force\_lambda\_code\_deploy)| If the lambda package in s3 has the same commit id tag as the terraform build branch, the lambda will not update automatically. Set to True if making changes to Lambda code from on the same commit for example during development |`bool`|`false`| no |
36
-
| <aname="input_group"></a> [group](#input\_group)| The group variables are being inherited from (often synonmous with account short-name)|`string`| n/a | yes |
37
+
| <aname="input_group"></a> [group](#input\_group)| The account group short-name |`string`| n/a | yes |
37
38
| <aname="input_kms_deletion_window"></a> [kms\_deletion\_window](#input\_kms\_deletion\_window)| When a kms key is deleted, how long should it wait in the pending deletion state? |`string`|`"30"`| no |
38
39
| <aname="input_letter_event_source"></a> [letter\_event\_source](#input\_letter\_event\_source)| Source value to use for the letter status event updates |`string`|`"/data-plane/supplier-api/nhs-supplier-api-prod/main/update-status"`| no |
40
+
| <aname="input_letter_queue_ttl_hours"></a> [letter\_queue\_ttl\_hours](#input\_letter\_queue\_ttl\_hours)| TTL in hours for letter queue records |`number`|`168`| no |
41
+
| <aname="input_letter_queue_visibility_timeout"></a> [letter\_queue\_visibility\_timeout](#input\_letter\_queue\_visibility\_timeout)| Visibility timeout in seconds for processing queued letter updates |`number`|`300`| no |
39
42
| <aname="input_letter_table_ttl_hours"></a> [letter\_table\_ttl\_hours](#input\_letter\_table\_ttl\_hours)| Number of hours to set as TTL on letters table |`number`|`24`| no |
43
+
| <aname="input_letter_ttl_hours"></a> [letter\_ttl\_hours](#input\_letter\_ttl\_hours)| TTL in hours for letter records |`number`|`12960`| no |
40
44
| <aname="input_log_level"></a> [log\_level](#input\_log\_level)| The log level to be used in lambda functions within the component. Any log with a lower severity than the configured value will not be logged: https://docs.python.org/3/library/logging.html#levels|`string`|`"INFO"`| no |
41
45
| <aname="input_log_retention_in_days"></a> [log\_retention\_in\_days](#input\_log\_retention\_in\_days)| The retention period in days for the Cloudwatch Logs events to be retained, default of 0 is indefinite |`number`|`0`| no |
42
46
| <aname="input_manually_configure_mtls_truststore"></a> [manually\_configure\_mtls\_truststore](#input\_manually\_configure\_mtls\_truststore)| Manually manage the truststore used for API Gateway mTLS (e.g. for prod environment) |`bool`|`false`| no |
43
47
| <aname="input_max_get_limit"></a> [max\_get\_limit](#input\_max\_get\_limit)| Default limit to apply to GET requests that support pagination |`number`|`2500`| no |
48
+
| <aname="input_mi_ttl_hours"></a> [mi\_ttl\_hours](#input\_mi\_ttl\_hours)| TTL in hours for MI records |`number`|`2160`| no |
44
49
| <aname="input_parent_acct_environment"></a> [parent\_acct\_environment](#input\_parent\_acct\_environment)| Name of the environment responsible for the acct resources used, affects things like DNS zone. Useful for named dev environments |`string`|`"main"`| no |
45
50
| <aname="input_project"></a> [project](#input\_project)| The name of the tfscaffold project |`string`| n/a | yes |
46
51
| <aname="input_region"></a> [region](#input\_region)| The AWS Region |`string`| n/a | yes |
0 commit comments