# Validate serverless yaml without connecting to AWS account

**URL:** <https://forum.serverless.com/t/validate-serverless-yaml-without-connecting-to-aws-account/15036>\
**Category:** Serverless Framework\
**Created:** [May 18, 2021, 12:29pm UTC](https://forum.serverless.com/t/validate-serverless-yaml-without-connecting-to-aws-account/15036 "2021-05-18T12:29:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![berimbolo](https://avatars.discourse-cdn.com/v4/letter/b/7993a0/32.png) [@berimbolo](https://forum.serverless.com/u/berimbolo)\
**Post date:** [May 18, 2021, 12:29pm UTC](https://forum.serverless.com/t/validate-serverless-yaml-without-connecting-to-aws-account/15036/1 "2021-05-18T12:29:17Z")

</div>

I am trying to just validate the serverless yaml file and I want to do this in a pipeline stage but the issue is the serverless file relies on parameters in SSM that do not yet exist.

I am currently trying to run:

```auto
 sls deploy --noDeploy --stage ${NAMESPACE}

```

The issue is that it seems because I have ssm params being pulled in serverless deployment requires those SSM parameters to exist and all I want to do is verify the file structure is ok.

I am not sure why the command actually requires the ssm parameters or to be able to connect to an account if `--noDeploy` is passed.
