Automating serverless application deployments