diff --git a/src/pages/[platform]/build-a-backend/add-aws-services/custom-resources/index.mdx b/src/pages/[platform]/build-a-backend/add-aws-services/custom-resources/index.mdx index 0928aba64b7..4f61e7851a4 100644 --- a/src/pages/[platform]/build-a-backend/add-aws-services/custom-resources/index.mdx +++ b/src/pages/[platform]/build-a-backend/add-aws-services/custom-resources/index.mdx @@ -170,7 +170,7 @@ const client = new SNSClient({ region: process.env.AWS_REGION }); export const handler: Handler = async (event) => { const { subject, body, recipient } = event; const command = new PublishCommand({ - TopicArn: process.env.TOPIC_ARN, + TopicArn: process.env.SNS_TOPIC_ARN, Message: JSON.stringify({ subject, body,