Ugly workaround for hardcoded S3 attachment attribute