Skip to content

Commit f39e567

Browse files
sort env_vars alphabetically
1 parent 81ba144 commit f39e567

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

  • infrastructure/terraform/components/api

infrastructure/terraform/components/api/locals.tf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ locals {
2020
destination_arn = "arn:aws:logs:${var.region}:${var.shared_infra_account_id}:destination:nhs-main-obs-firehose-logs"
2121

2222
common_lambda_env_vars = {
23-
LETTERS_TABLE_NAME = aws_dynamodb_table.letters.name,
24-
MI_TABLE_NAME = aws_dynamodb_table.mi.name,
25-
LETTER_TTL_HOURS = 12960, # 18 months * 30 days * 24 hours
26-
MI_TTL_HOURS = 2160 # 90 days * 24 hours
27-
SUPPLIER_ID_HEADER = "nhsd-supplier-id",
2823
APIM_CORRELATION_HEADER = "nhsd-correlation-id",
2924
DOWNLOAD_URL_TTL_SECONDS = 60
30-
SNS_TOPIC_ARN = "${module.eventsub.sns_topic.arn}",
3125
EVENT_SOURCE = "/data-plane/supplier-api/${var.group}/${var.environment}/letters"
26+
LETTER_TTL_HOURS = 12960, # 18 months * 30 days * 24 hours
27+
LETTERS_TABLE_NAME = aws_dynamodb_table.letters.name,
28+
MI_TABLE_NAME = aws_dynamodb_table.mi.name,
29+
MI_TTL_HOURS = 2160 # 90 days * 24 hours
30+
SNS_TOPIC_ARN = "${module.eventsub.sns_topic.arn}",
3231
SUPPLIER_CONFIG_TABLE_NAME = aws_dynamodb_table.supplier-configuration.name
32+
SUPPLIER_ID_HEADER = "nhsd-supplier-id",
3333
}
3434

3535
core_pdf_bucket_arn = "arn:aws:s3:::comms-${var.core_account_id}-eu-west-2-${var.core_environment}-api-stg-pdf-pipeline"

0 commit comments

Comments
 (0)