EphemeralStorageSize not getting updated (and reverting) on deploy?

We’re setting ephemeralStorageSize for a function as per the docs here Serverless Framework - AWS Lambda Guide - Serverless.yml Reference, and every time we re-deploy it reverts to the default 512.
image

Is this a bug?