Skip to content

Commit 949bf19

Browse files
committed
add try to default_letter_supplier
1 parent 7554e52 commit 949bf19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infrastructure/terraform/modules/backend-api/module_lambda_send_letter_proof.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module "lambda_send_letter_proof" {
1717
environment_variables = {
1818
CREDENTIALS_TTL_MS = 900 * 1000
1919
CSI = local.csi
20-
DEFAULT_LETTER_SUPPLIER = local.default_letter_supplier.name
20+
DEFAULT_LETTER_SUPPLIER = try(local.default_letter_supplier.name, "unset")
2121
ENVIRONMENT = var.environment
2222
INTERNAL_BUCKET_NAME = module.s3bucket_internal.id
2323
NODE_OPTIONS = "--enable-source-maps",

0 commit comments

Comments
 (0)