I'm making a module for terraform to create a vSZ on AWS
So if i have to upgrade the version, it should be as simple as uploading the .ova, applying the terraform and it would create the new ami and use it to upgrade / launch a new vSZ with that ami
But i'm not sure how to make the import-image command on terraform and how to persist the vSZ configuration.
I think that if i mount an EBS volume to some directory on the vSZ and the EBS volume persists it should persist the configuration, but which directories should those be?