1 heat_template_version: 2013-05-23
 
   4   TOSCA simple profile with server and attached block storage using a custom
 
   5   AttachesTo Relationship Type.
 
  10     description: Number of CPUs for the server.
 
  20     description: Block storage mount point (filesystem path).
 
  24     description: Size of the storage to be created.
 
  28     description: Optional identifier for an existing snapshot to use when creating storage.
 
  33     type: OS::Nova::Server
 
  36       image: fedora-amd64-heat-config
 
  37       user_data_format: SOFTWARE_CONFIG
 
  38       software_config_transport: POLL_SERVER_HEAT
 
  43     type: OS::Cinder::Volume
 
  46         get_param: storage_size
 
  48         get_param: storage_snapshot_id
 
  51     type: OS::Cinder::VolumeAttachment
 
  54         get_resource: my_server
 
  56         get_resource: my_storage
 
  58         get_param: storage_location
 
  63     description: The private IP address of the newly created compute instance.
 
  71     description: The volume id of the block storage instance.
 
  73       get_resource: my_storage