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
45 user_data_format: SOFTWARE_CONFIG
49 storage_attachesto_1_2:
50 type: OS::Cinder::VolumeAttachment
53 get_resource: my_web_app_tier_1
54 mountpoint: /my_data_location
56 get_resource: my_storage
59 type: OS::Nova::Server
62 image: fedora-amd64-heat-config
63 user_data_format: SOFTWARE_CONFIG
67 storage_attachesto_2_1:
68 type: OS::Cinder::VolumeAttachment
71 get_resource: my_web_app_tier_2
72 mountpoint: /some_other_data_location
74 get_resource: my_storage
78 description: The private IP address of the applications first tier.
86 description: The private IP address of the applications second tier.
94 description: The volume id of the block storage instance.
96 get_resource: my_storage