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:
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.