I want to deploy a Windows VM with Azure Cloud Adoption Framework (CAF) using Terraform. In the example of configuration.tfvars, all the configuration is done.But I cannot find the correct terraform code to deploy this tfvars configuration.
The windows vm module is here.
So far, i have written the code below:
module "caf_virtual_machine" {
source = "aztfmod/caf/azurerm//modules/compute/virtual_machine"
version = "5.0.0"
# belows are the 7 required variables
base_tags = var.tags
client_config =
global_settings = var.global_settings
location = var.location
resource_group_name = var.resource_group_name
settings =
vnets = var.vnets
}
So the vnets, global_settings, resource_group_name
variables already exists in the configuration.tfvars. I have added tags
and location
variables to the configuration.tfvars.
But what should i enter to settings
and client_config
variables?
question from:
https://stackoverflow.com/questions/65928717/how-to-deploy-a-windows-vm-with-terraform-azure-caf 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…