"Error: Unable to upload artifact referenced by Location parameter of resource. 'S3Uploader' object is not subscriptable."
While working on a multi-stack AWS SAM package I came across this rather obscure error: Error: Unable to upload artifact ../../spa-hosting.yaml referenced by Location parameter of Hosting resource. ‘S3Uploader’ object is not subscriptable