Creation of init cloud-based VMs

I want to create 3 vm each with their configuration (ram / cpu / disk) and I want to know if I have created a template (to be cloned later in the terraform file) of a size to give prevents others from having a different configuration

example if I put a vm (1cpu / 2 g ram / 10 G disk) and convert it to templete
[I can’t or i can] use it to deploy a (3 cpu and 8G ram and 50 G disk)