Quantcast
Channel: Terraform - HashiCorp Discuss
Viewing all articles
Browse latest Browse all 11449

Mixed Linux and Windows VM Deployment

$
0
0

Hi guys, fairly new to terraform and really enjoying it.

Quick question for some guidance, for a simple AZURE deployment of a single resource group, Vnet and subnet, I want to deploy a Linux VM and a Windows VM.

Question is, do I have a separate folder with main.tf for the various VM resource types? I struggle with the concept of trying to put both VM types in the single main.tf file and then use variables for both machines - what are your thoughts?

My future steps will hopefully include modules as i progress, or would you got for modules straight off the bat?

Thanks for any replied, its appreciated.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 11449

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>