# Cognito User/Identity Pools as serverless.yml resource defs

**URL:** <https://forum.serverless.com/t/cognito-user-identity-pools-as-serverless-yml-resource-defs/2050>\
**Category:** Serverless Framework\
**Created:** [June 13, 2017, 2:49am UTC](https://forum.serverless.com/t/cognito-user-identity-pools-as-serverless-yml-resource-defs/2050 "2017-06-13T02:49:19Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![nerdguru](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/nerdguru/32/248_2.png) [@nerdguru](https://forum.serverless.com/u/nerdguru)\
**Post date:** [June 23, 2017, 8:05pm UTC](https://forum.serverless.com/t/cognito-user-identity-pools-as-serverless-yml-resource-defs/2050/9 "2017-06-23T20:05:21Z")

</div>

FYI, just got confirmation that this is a bug that will be fixed as part of a larger ARN issue, workaround described here:

> <https://github.com/serverless/serverless/issues/3212#issuecomment-307341924>
>
> This is a Feature proposal
> Description
> Note: This issue was updated from a bug report to a feature proposal. The implementation of the...

Basically, create your stack once, come back to your serverless.yml and hard code the ARN that gets generated.

---

_[View the full topic](https://forum.serverless.com/t/cognito-user-identity-pools-as-serverless-yml-resource-defs/2050)._
