I’m writing a custom terraform provider and one of the use cases is that an ID on the backend server looks
X in version 1.0, but
Y in version 1.1.
I thought about using a SchemaVersion and upgrade it if you’re using a backend 1.1… But then it wouldn’t work for those users connecting to 1.0. (Upgrading is required, but downgrading is impossible).
Is there any way to define a SchemaVersion that changes only if the migration was successfully applied?