blob: 8c59dc72d0d6cc2f6f3b03b94d369a2ef7087cf7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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}
|