How do outputs work for SoftwareDeployments
Hi:
Do OS::Heat::SoftwareDeployments outputs work the same as OS::Heat::SoftwareDeployment?
When using outputs with OS::Heat::SoftwareDeployments, it returns an empty value. However, just changing the resource type to OS::Heat::SoftwareDeployment, apply to only one server, use the same OS::Heat::SoftwareConfig, the value is there. I tested it with:
...
myconfig:
type: OS::Heat::SoftwareConfig
properties:
group: script
inputs:
- name: myinput
description: My input
outputs:
- name: result
description: Output
config: |
#!/bin/sh -x
echo -n "Here it goes" > $heat_outputs_path.result
deploy:
# type: OS::Heat::SoftwareDeployment
type: OS::Heat::SoftwareDeployments
properties:
config: {get_resource: myconfig}
servers:
wb-server: {get_resource: wb_server}
# wb-master: { get_attr: [wb_core, master] }
# wb-backup: { get_attr: [wb_core, backup] }
input_values:
myinput: foo
outputs:
myoutput:
description: software config output
value: { get_attr: [deploy, result] }