1 heat_template_version: 2013-05-23
4 TOSCA simple profile with server and attached block storage using the normative
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
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
61 description: The private IP address of the newly created compute instance.
69 description: The volume id of the block storage instance.
71 get_resource: my_storage