It's unclear if you even know what terraform is, because the system you described has little to do with it.

Terraform would be the code that brought that VM into existence.