[Terraform] When creating a vm, inquire about the best practice about authentication method

Hello,

I have a question during the code deployment test with Terraform, so I’ll ask!

When creating a VM, it is currently imported as a module in the admin_ssh_key method.
However, I think a password method will be added in addition to the ssh key method.

In this case, would it be better to split the module into two? I’m curious about the best parctice when using both methods in general!

Advice please!