github.com/orivej/packer@v0.10.1/examples/azure/windows.json (about) 1 { 2 "variables": { 3 "client_id": "{{env `ARM_CLIENT_ID`}}", 4 "client_secret": "{{env `ARM_CLIENT_SECRET`}}", 5 "resource_group": "{{env `ARM_RESOURCE_GROUP`}}", 6 "storage_account": "{{env `ARM_STORAGE_ACCOUNT`}}", 7 "subscription_id": "{{env `ARM_SUBSCRIPTION_ID`}}", 8 "tenant_id": "{{env `ARM_TENANT_ID`}}", 9 "object_id": "{{env `ARM_OBJECT_ID`}}" 10 }, 11 "builders": [{ 12 "type": "azure-arm", 13 14 "client_id": "{{user `client_id`}}", 15 "client_secret": "{{user `client_secret`}}", 16 "resource_group_name": "{{user `resource_group`}}", 17 "storage_account": "{{user `storage_account`}}", 18 "subscription_id": "{{user `subscription_id`}}", 19 "object_id": "{{user `object_id`}}", 20 "tenant_id": "{{user `tenant_id`}}", 21 22 23 "capture_container_name": "images", 24 "capture_name_prefix": "packer", 25 26 "os_type": "Windows", 27 "image_publisher": "MicrosoftWindowsServer", 28 "image_offer": "WindowsServer", 29 "image_sku": "2012-R2-Datacenter", 30 31 "communicator": "winrm", 32 "winrm_use_ssl": "true", 33 "winrm_insecure": "true", 34 "winrm_timeout": "3m", 35 "winrm_username": "packer", 36 37 "location": "West US", 38 "vm_size": "Standard_A2" 39 } 40 ], 41 "provisioners": [ 42 { 43 "type": "powershell", 44 "inline": [ 45 "dir c:\\" 46 ] 47 } 48 ] 49 } 50