# Cannot recreate SNS topic using serverlss framework

**URL:** <https://forum.serverless.com/t/cannot-recreate-sns-topic-using-serverlss-framework/3551>\
**Category:** Serverless Framework\
**Created:** [January 19, 2018, 6:56am UTC](https://forum.serverless.com/t/cannot-recreate-sns-topic-using-serverlss-framework/3551 "2018-01-19T06:56:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![prasantha](https://avatars.discourse-cdn.com/v4/letter/p/e19adc/32.png) [@prasantha](https://forum.serverless.com/u/prasantha)\
**Post date:** [January 19, 2018, 6:56am UTC](https://forum.serverless.com/t/cannot-recreate-sns-topic-using-serverlss-framework/3551/1 "2018-01-19T06:56:10Z")

</div>

I created SNS topic using the serverless framework,  
functions:  
employee-claimtypes-max-amount:  
handler: employee-claimtypes-max-amount/index.handler  
events:  
- sns: mClaim

I ran the serverless deploy after adding the SNS topic details to the serverless.yml file.  
it created the SNS topic  
But when we run the serverless deploy again,  
it gives and error saying "An error occurred: SNSTopicEmployeeclaimmaxamountmClaimT - employee-claim-max-amount-mClaimT already exists in stack arn:aws:cloudformation:ap-southeast-1:xxxxxxxxxxx:stack/balanceCalculator-dev/yyyyyyyyyyyy.

Can anybody let me know it is possible to redeploy the application .  
If possible how can i achieve it.

Thank You

---

<div class="post-metadata">

**Author:** ![DavidWells](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/davidwells/32/201_2.png) [@DavidWells](https://forum.serverless.com/u/DavidWells)\
**Post date:** [January 19, 2018, 10:03pm UTC](https://forum.serverless.com/t/cannot-recreate-sns-topic-using-serverlss-framework/3551/2 "2018-01-19T22:03:20Z")

</div>

Does the SNS topic with that name already exist in your account?

You can use the framework to generate a new sns topic or you can re-use the arn of an existing one.

see [https://github.com/DavidWells/serverless-workshop/tree/master/lessons-code-complete/events/sns](https://github.com/DavidWells/serverless-workshop/tree/master/lessons-code-complete/events/sns) for both example
