Huge deploy timeout

Hi Everyone,

I’m working on my first giant Serverless project and builds have been taking a looooong time, like ~15-20+ mins. I’m getting the following output while building:

User stats error: Request network error: FetchError: network timeout at:
    at Timeout._onTimeout (/usr/local/lib/node_modules/serverless/node_modules/node-fetch/index.js:126:13)
    at listOnTimeout (internal/timers.js:531:17)
    at processTimers (internal/timers.js:475:7) {
  name: 'FetchError',
  message: 'network timeout at:',
  type: 'request-timeout'
Serverless: [AWS sts 200 236.309s 1 retries] assumeRole({
  RoleArn: 'arn:aws:iam::removed',
  RoleSessionName: 'removed'
Serverless: [AWS sts 403 236.771s 3 retries] assumeRole({
  RoleArn: 'arn:aws:iam::removed',
  RoleSessionName: 'removed'

The only plugin i’m using is serverless-step-functions

The project has a huge number of resources (200+, had to get a ticket raised to increase stack size), but I’m thinking these errors are accounting for ~8 mins of the build time

I’d appreciate any input at all!