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
 
  36       user_data_format: SOFTWARE_CONFIG
 
  41     type: OS::Cinder::Volume
 
  44         get_param: storage_size
 
  46         get_param: storage_snapshot_id
 
  49     type: OS::Cinder::VolumeAttachment
 
  52         get_resource: my_server
 
  54         get_param: storage_location
 
  56         get_resource: my_storage
 
  59     type: OS::Nova::Server
 
  62       image: fedora-amd64-heat-config
 
  63       user_data_format: SOFTWARE_CONFIG
 
  68     type: OS::Cinder::Volume
 
  71         get_param: storage_size
 
  73         get_param: storage_snapshot_id
 
  76     type: OS::Cinder::VolumeAttachment
 
  79         get_resource: my_server2
 
  81         get_param: storage_location
 
  83         get_resource: my_storage2
 
  87     description: The private IP address of the applications first server.
 
  93     description: The private IP address of the applications second server.
 
  99     description: The volume id of the first block storage instance.
 
 101       get_resource: my_storage
 
 103     description: The volume id of the second block storage instance.
 
 105       get_resource: my_storage2