diff options
author | 2016-07-12 15:19:18 +0000 | |
---|---|---|
committer | 2016-07-12 15:19:19 +0000 | |
commit | a31fc6c250683d5463dc9cba4db4f5e09f45dbb4 (patch) | |
tree | 680c02a86992580c06a5dd0e3861b32c50e6388d /deployed-server/deployed-server-config.yaml | |
parent | bff2b3f4e5fd21a2746914e8b3cee67282bb7d82 (diff) | |
parent | c3d595c49a6c507f16fd2c06cdecb9253dd326f6 (diff) |
Merge "Use already Deployed/Installed servers"
Diffstat (limited to 'deployed-server/deployed-server-config.yaml')
-rw-r--r-- | deployed-server/deployed-server-config.yaml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/deployed-server/deployed-server-config.yaml b/deployed-server/deployed-server-config.yaml new file mode 100644 index 00000000..8c59dc72 --- /dev/null +++ b/deployed-server/deployed-server-config.yaml @@ -0,0 +1,22 @@ +heat_template_version: 2014-10-16 +parameters: + user_data_format: + type: string + default: SOFTWARE_CONFIG + +resources: + # We just need something which returns a unique ID, but we can't + # use RandomString because RefId returns the value, not the physical + # resource ID, SoftwareConfig should work as it returns a UUID + deployed-server-config: + type: OS::Heat::SoftwareConfig + +outputs: + # FIXME(shardy) this is needed because TemplateResource returns an + # ARN not a UUID, which overflows the Deployment server_id column.. + user_data_format: + value: SOFTWARE_CONFIG + OS::stack_id: + value: {get_resource: deployed-server-config} + + |