Update windows_custom_image.json

object_id is not present in the file. Added it
Required, as per the docs: https://www.packer.io/docs/builders/azure.html#object_id
The other windows example shows this properly: https://github.com/hashicorp/packer/blob/master/examples/azure/windows.json
Similar to: https://github.com/hashicorp/packer/issues/4803
This commit is contained in:
Kinnaird McQuade 2017-08-26 16:26:25 -04:00 committed by GitHub
parent 5eb14ad642
commit 61289bec0e
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@
"resource_group": "{{env `ARM_RESOURCE_GROUP`}}", "resource_group": "{{env `ARM_RESOURCE_GROUP`}}",
"storage_account": "{{env `ARM_STORAGE_ACCOUNT`}}", "storage_account": "{{env `ARM_STORAGE_ACCOUNT`}}",
"subscription_id": "{{env `ARM_SUBSCRIPTION_ID`}}" "subscription_id": "{{env `ARM_SUBSCRIPTION_ID`}}"
"object_id": "{{env `ARM_OJBECT_ID`}}"
}, },
"builders": [ "builders": [
{ {
@ -15,6 +16,7 @@
"resource_group_name": "{{user `resource_group`}}", "resource_group_name": "{{user `resource_group`}}",
"storage_account": "{{user `storage_account`}}", "storage_account": "{{user `storage_account`}}",
"subscription_id": "{{user `subscription_id`}}", "subscription_id": "{{user `subscription_id`}}",
"object_id": "{{user `object_id`}}",
"capture_container_name": "images", "capture_container_name": "images",
"capture_name_prefix": "packer", "capture_name_prefix": "packer",