1 tosca_definitions_version: tosca_simple_yaml_1_0
 
   4   TOSCA simple profile with server and attached block storage using the normative AttachesTo Relationship Type.
 
  11       description: Number of CPUs for the server.
 
  13         - valid_values: [ 1, 2, 4, 8 ]
 
  15       type: scalar-unit.size
 
  16       description: Size of the storage to be created.
 
  21         Optional identifier for an existing snapshot to use when creating storage.
 
  24       description: Block storage mount point (filesystem path).
 
  33             num_cpus: { get_input: cpus }
 
  47                 location: { get_input: storage_location }
 
  52         size: { get_input: storage_size }
 
  53         snapshot_id: { get_input: storage_snapshot_id }
 
  57       description: The private IP address of the newly created compute instance.
 
  58       value: { get_attribute: [my_server, private_address] }
 
  60       description: The volume id of the block storage instance.
 
  61       value: { get_attribute: [my_storage, volume_id] }