packer-cn/builder/azure/dtl/WindowsSimple.json

37 lines
1.2 KiB
JSON

{
"variables": {
"client_id": "{{env `client_id`}}",
"client_secret": "{{env `client_secret`}}",
"tenant_id": "{{env `tenant_id`}}",
"subscription_id": "{{env `subscription_id`}}",
"lab_name": "NewpackerRG",
"resource_group_name": "NewPackerRG",
"vm_name": "win18"
},
"builders": [
{
"type": "azure-dtl",
"client_id": "{{user `client_id`}}",
"client_secret": "{{user `client_secret`}}",
"tenant_id": "{{user `tenant_id`}}",
"subscription_id": "{{user `subscription_id`}}",
"managed_image_resource_group_name": "NewPackerRG",
"managed_image_name": "PackerImage2",
"os_type": "Windows",
"image_publisher": "MicrosoftWindowsDesktop",
"image_offer": "Windows-10",
"image_sku": "19h1-ent",
"azure_tags": {
"dept": "Engineering",
"task": "Image deployment"
},
"lab_name": "{{user `lab_name`}}",
"vm_name": "{{user `vm_name`}}",
"lab_virtual_network_name": "dtlnewpackerrg",
"lab_resource_group_name": "{{user `resource_group_name`}}",
"lab_subnet_name": "dtlnewpackerrgSubnet",
"location": "Central US",
"vm_size": "Standard_DS2_v2"
}
]
}