# Internal + external custom section

**URL:** <https://forum.serverless.com/t/internal-external-custom-section/12062>\
**Category:** Serverless Framework\
**Created:** [July 19, 2020, 7:17am UTC](https://forum.serverless.com/t/internal-external-custom-section/12062 "2020-07-19T07:17:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomeraz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/tomeraz/32/4440_2.png) [@tomeraz](https://forum.serverless.com/u/tomeraz)\
**Post date:** [July 19, 2020, 7:17am UTC](https://forum.serverless.com/t/internal-external-custom-section/12062/1 "2020-07-19T07:17:32Z")

</div>

Inside my serverless.yml I have an external custom section:

```auto
custom: ${file(../../serverless.common.yml):custom}

```

Is it possible to add local custom settings as well?  
Something like this:

```auto
custom:
  - ${file(../../serverless.common.yml):custom}
  - dotenv:
      path: ../../.env
```

---

<div class="post-metadata">

**Author:** ![garethmcc](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/garethmcc/32/2276_2.png) [@garethmcc](https://forum.serverless.com/u/garethmcc)\
**Post date:** [July 20, 2020, 7:40am UTC](https://forum.serverless.com/t/internal-external-custom-section/12062/2 "2020-07-20T07:40:39Z")

</div>

What happens when you try? Remember, you can `serverless print` to see what the serverless.yml would look like with all variables added and files inserted.
