559701 (1) [Avatar] Offline
#1
I have worked through the CICD sections for a Python app using CodePipeline and CodeBuild with some success but....

How can the stack be removed given the working directory that it was created from no longer exists ?

A
Yan Cui (65) [Avatar] Offline
#2
The serverless framework works out the name of the CloudFormation stack based on the service name in your serverless.yml, based on naming convention. For instance, for the big-mouth project, the dev environment is deployed with a CloudFormation stack called big-mouth-dev, and when you run `sls remove` it'll translate to deleting that stack, it doesn't matter whether or not the working directory is there or not.