Yes definitely. Hence the mention of terraform. The problem is that most projects give you space to define how you deploy (locally, instance on AWS, containers) but a Serverless approach does not. Serverless has an inherent infrastructure component. It just makes it harder not impossible though. Definitely needs a configuration element in the shared project.