File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
infrastructure/terraform/components/api Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ locals {
2727 SUPPLIER_ID_HEADER = " nhsd-supplier-id" ,
2828 APIM_CORRELATION_HEADER = " nhsd-correlation-id" ,
2929 DOWNLOAD_URL_TTL_SECONDS = 60
30+ SNS_TOPIC_ARN = " ${ module . eventsub . sns_topic . arn } " ,
31+ EVENT_SOURCE = " /data-plane/supplier-api/${ var . group } /${ var . environment } /letters"
3032 }
3133
3234 core_pdf_bucket_arn = " arn:aws:s3:::comms-${ var . core_account_id } -eu-west-2-${ var . core_environment } -api-stg-pdf-pipeline"
Original file line number Diff line number Diff line change @@ -34,10 +34,7 @@ module "letter_status_update" {
3434 log_destination_arn = local. destination_arn
3535 log_subscription_role_arn = local. acct . log_subscription_role_arn
3636
37- lambda_env_vars = merge (local. common_lambda_env_vars , {
38- SNS_TOPIC_ARN = " ${ module . eventsub . sns_topic . arn } " ,
39- EVENT_SOURCE = " /data-plane/supplier-api/${ var . group } /${ var . environment } /letters"
40- })
37+ lambda_env_vars = merge (local. common_lambda_env_vars , {})
4138}
4239
4340data "aws_iam_policy_document" "letter_status_update" {
You can’t perform that action at this time.
0 commit comments