Issue with serverless cloudformation stack doesn't exists

I’ve manually deleted a cloudformation stack. Now, when I try to run same sls which I ran earlier it throws

the code is running this aws code pipeline using aws code build and the command being used in buildspec.yml is sls deploy

Have you considered AWS Service Catalog? You create a template for a tenant account and you then “vend” it on requirement. You can then perform updates to provisioned “products”. It’s the strategy Control Tower uses. Under the hood, it still uses Cloudformation StackSets to manage things, but the user experience is a vast improvement, and it will manage the whole suite of StackSets from one product template.