# When running sls deploy, my new functions are printed but are not deployed

**URL:** <https://forum.serverless.com/t/when-running-sls-deploy-my-new-functions-are-printed-but-are-not-deployed/8097>\
**Category:** Serverless Framework\
**Tags:** aws, lambda, api-gateway\
**Created:** [April 25, 2019, 3:32pm UTC](https://forum.serverless.com/t/when-running-sls-deploy-my-new-functions-are-printed-but-are-not-deployed/8097 "2019-04-25T15:32:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![7hibault](https://avatars.discourse-cdn.com/v4/letter/7/ce7236/32.png) [@7hibault](https://forum.serverless.com/u/7hibault)\
**Post date:** [April 25, 2019, 3:32pm UTC](https://forum.serverless.com/t/when-running-sls-deploy-my-new-functions-are-printed-but-are-not-deployed/8097/1 "2019-04-25T15:32:46Z")

</div>

I’m using serverless to deploy lambdas execution to API Gateway.

When I run `serverless deploy`, the deployment happens without errors and endpoints for my previous functions and my new ones are printed

```auto
endpoints
  POST - https://xxxx.execute-api.xxx.amazonaws.com/stage/old-stuff
  POST - https://xxxx.execute-api.xxx.amazonaws.com/stage/new-stuff
functions
  oldStuff: bla-stage-oldStuff
  newStuff: bla-stage-newStuff

```

Upon seeing this, I assumed everything was fine, except that the endpoint is not visible in API Gateway. I tried running `sls dpeloy list functions` to check if it was visible from there, but got

```auto
Function not found: arn:aws:lambdas:xxx:xxx:function:bla-stage-newStuff

```

I’m assuming there’s something wrong in my yml files but don’t know where to start because I don’t get errors when deploying.

I tried to force deployment but there’s an issue with adding GSIs in the CloudFormation template. Removing the stack would also mean deleting the database, which is not desired
