# Error when deploying the lambda with s3 trigger

**URL:** <https://forum.serverless.com/t/error-when-deploying-the-lambda-with-s3-trigger/9191>\
**Category:** Serverless Framework\
**Tags:** aws\
**Created:** [August 30, 2019, 4:41am UTC](https://forum.serverless.com/t/error-when-deploying-the-lambda-with-s3-trigger/9191 "2019-08-30T04:41:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vduddu](https://avatars.discourse-cdn.com/v4/letter/v/8491ac/32.png) [@vduddu](https://forum.serverless.com/u/vduddu)\
**Post date:** [August 30, 2019, 4:41am UTC](https://forum.serverless.com/t/error-when-deploying-the-lambda-with-s3-trigger/9191/1 "2019-08-30T04:41:28Z")

</div>

seeing error when validating template

Error: The CloudFormation template is invalid: S3 error: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.
