# Consistent naming - resource\_class and resource-class?

**URL:** <https://discuss.circleci.com/t/consistent-naming-resource-class-and-resource-class/43928>\
**Category:** Orbs\
**Created:** [May 5, 2022, 5:49pm UTC](https://discuss.circleci.com/t/consistent-naming-resource-class-and-resource-class/43928 "2022-05-05T17:49:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrs](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/jrs/32/28866_2.png) [@jrs](https://discuss.circleci.com/u/jrs)\
**Post date:** [May 5, 2022, 5:49pm UTC](https://discuss.circleci.com/t/consistent-naming-resource-class-and-resource-class/43928/1 "2022-05-05T17:49:27Z")

</div>

Jobs use `resource_class` to specify executor size, but the aws-ecr@7.3.0 Orb has a `resource-class` parameter instead. It caused me no end of confusion (as a new CircleCI user) trying to figure out what was going on and why my ECR was running as medium. I’d suggest the Orb match the other spelling, probably supporting both until some future deprecation point.
