1 heat_template_version: 2013-05-23
4 TOSCA simple profile with a single Block Storage node shared by 2-Tier
5 Application with custom AttachesTo Type and explicit Relationship Templates.
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::Cinder::Volume
36 get_param: storage_size
38 get_param: storage_snapshot_id
41 type: OS::Nova::Server
44 image: fedora-amd64-heat-config
46 user_data_format: SOFTWARE_CONFIG
50 storage_attachesto_1_2:
51 type: OS::Cinder::VolumeAttachment
54 get_resource: my_web_app_tier_1
55 mountpoint: /my_data_location
57 get_resource: my_storage
60 type: OS::Nova::Server
63 image: fedora-amd64-heat-config
65 user_data_format: SOFTWARE_CONFIG
69 storage_attachesto_2_1:
70 type: OS::Cinder::VolumeAttachment
73 get_resource: my_web_app_tier_2
74 mountpoint: /some_other_data_location
76 get_resource: my_storage
80 description: The private IP address of the applications first tier.
88 description: The private IP address of the applications second tier.
96 description: The volume id of the block storage instance.
98 get_resource: my_storage