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):

  
https://github.com/FransUrbo/Openstack-Bayour.COM/blob/master/development.yaml#L41
  
https://github.com/FransUrbo/Openstack-Bayour.COM/blob/master/instance.yaml#L83
  https://github.com/FransUrbo/Openstack-Bayour.COM/blob/master/volume.yaml#L40

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


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to