# New Plugin: serverless-resource-names

**URL:** <https://forum.serverless.com/t/new-plugin-serverless-resource-names/10022>\
**Category:** Serverless Framework\
**Tags:** lambda, variables\
**Created:** [December 5, 2019, 6:37am UTC](https://forum.serverless.com/t/new-plugin-serverless-resource-names/10022 "2019-12-05T06:37:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![richarddd](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/richarddd/32/2985_2.png) [@richarddd](https://forum.serverless.com/u/richarddd)\
**Post date:** [December 5, 2019, 6:37am UTC](https://forum.serverless.com/t/new-plugin-serverless-resource-names/10022/1 "2019-12-05T06:37:54Z")

</div>

Hi Everyone,

Just created this plugin to help with the naming of resources and avoid the boilerplate 🙂

Take a look at

> **[serverless-resource-names](https://www.npmjs.com/package/serverless-resource-names)**
>
> Automagically name your Cloudformation resources according to their ref identifier

---

<div class="post-metadata">

**Author:** ![paulswail](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/paulswail/32/3177_2.png) [@paulswail](https://forum.serverless.com/u/paulswail)\
**Post date:** [December 5, 2019, 9:28pm UTC](https://forum.serverless.com/t/new-plugin-serverless-resource-names/10022/2 "2019-12-05T21:28:35Z")

</div>

Hey Richard. CloudFormation doesn’t require that you specify the name field for these resources, in fact I almost always let CF automatically name them. A couple of reasons:

1. Once you name a resource, if you ever want to rename it, CF usually has to delete and recreate it rather than update in-place ([https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html))
2. S3 bucket names need to be globally unique
