Where to view metadata in manifest post-processor?

24 views
Skip to first unread message

Joanna .Leong

unread,
Jul 26, 2017, 12:52:03 PM7/26/17
to Packer
I was looking at this pull request https://github.com/hashicorp/packer/pull/4981 where the OP says after Azure VHD file is created, there will be a  "URL to VHD file as id of artifact.". 
So I added a post-processor and ran Packer. When I viewed the manifest, I don't see the URL to the VHD file. How can I get the URL to VHD file without having to go to my Azure storage account?

manifest file:
"builds": [
2017-07-26T16:34:21.4594050Z     {
2017-07-26T16:34:21.4627960Z       "name": "prod",
2017-07-26T16:34:21.4662780Z       "builder_type": "azure",
2017-07-26T16:34:21.4697010Z       "build_time": 1501086859,
2017-07-26T16:34:21.4737130Z       "files": null,
2017-07-26T16:34:21.4799310Z       "artifact_id": "PkrVMqt9ewvo5ig_2017-07-26_16-27",
2017-07-26T16:34:21.4880100Z       "packer_run_uuid": "86a87595-f114-aa68-4da9-e36dabab7b65"
2017-07-26T16:34:21.4958560Z     }
2017-07-26T16:34:21.4994070Z   ],
2017-07-26T16:34:21.5048490Z   "last_run_uuid": "86a87595-f114-aa68-4da9-e36dabab7b65"

Joanna .Leong

unread,
Jul 26, 2017, 1:05:59 PM7/26/17
to Packer
nevermind. I see it's in another file "image.json"
Reply all
Reply to author
Forward
0 new messages