[Openstack] Heat template - get port ID of 'external' instance

Turbo Fredriksson turbo at bayour.com
Mon Aug 1 16:55:52 UTC 2016

On Aug 1, 2016, at 4:41 PM, Turbo Fredriksson wrote:

>> You actually need to explicitly export the attributes you want as outputs from the instance.yaml template, just as you defined parameters to accept the property values.

This seems to mostly working, but i'm not sure how to 'export' the
instance UUID from "instance.yaml" to "volume.yaml" via "development.yaml"
(which is the 'primary' template):


This give me

  Resource CREATE failed: ValueError: resources.volume: Value must be valid JSON: No JSON object could be decoded

I've also tried

  value: { get_attr: [instance, instance_uuid] }

=> The Referenced Attribute (instance instance_uuid) is incorrect.
God gave man both a penis and a brain,
but unfortunately not enough blood supply
to run both at the same time.
- R. Williams

More information about the Openstack mailing list