When "sam deploy" runs it first checks one by one if each asset is in S3 (seems to be a bunch of HEAD requests).
This is a very slow process in one of our projects that has grown to have maybe 30 lambdas and 50 appsync query/mutation VTL files in its assets.
Even if no changes, we see these types of messages scroll by for 6 minutes until deployment starts:
File with same data already exists at xxx/, skipping upload
(it seems to be taking 10-15 sec on some that have ~2 - 5mb of data)
Is this normal? Can't SAM do this in batch operation? It seems to me if it's designed right, it should take seconds to see what needs to be uploaded.