1 heat_template_version: 2013-05-23
4 TOSCA simple profile with 2 servers each with different attached block storage.
9 description: Number of CPUs for the server.
19 description: Block storage mount point (filesystem path).
23 description: Size of the storage to be created.
27 description: Optional identifier for an existing snapshot to use when creating storage.
32 type: OS::Nova::Server
35 image: fedora-amd64-heat-config
37 user_data_format: SOFTWARE_CONFIG
42 type: OS::Cinder::Volume
45 get_param: storage_size
47 get_param: storage_snapshot_id
50 type: OS::Cinder::VolumeAttachment
53 get_resource: my_server
55 get_param: storage_location
57 get_resource: my_storage
60 type: OS::Nova::Server
63 image: fedora-amd64-heat-config
65 user_data_format: SOFTWARE_CONFIG
70 type: OS::Cinder::Volume
73 get_param: storage_size
75 get_param: storage_snapshot_id
78 type: OS::Cinder::VolumeAttachment
81 get_resource: my_server2
83 get_param: storage_location
85 get_resource: my_storage2
89 description: The private IP address of the applications first server.
97 description: The private IP address of the applications second server.
105 description: The volume id of the first block storage instance.
107 get_resource: my_storage
109 description: The volume id of the second block storage instance.
111 get_resource: my_storage2