docs: fix issues
[parser.git] / tosca2heat / heat-translator / translator / tests / data / hot_output / hot_single_server_with_defaults_without_input.yaml
1 heat_template_version: 2013-05-23
2
3 description: >
4   TOSCA simple profile that just defines a single compute instance and selects a
5   (guest) host Operating System from the Compute node's properties. Note, this
6   example includes default values on inputs properties.
7
8 parameters:
9   cpus:
10     type: number
11     description: Number of CPUs for the server.
12     default: 4
13     constraints:
14     - allowed_values:
15       - 1
16       - 2
17       - 4
18       - 8
19
20 resources:
21   my_server:
22     type: OS::Nova::Server
23     properties:
24       flavor: m1.large
25       image: ubuntu-12.04-software-config-os-init
26       user_data_format: SOFTWARE_CONFIG
27
28 outputs:
29   private_ip:
30     description: The private IP address of the deployed server instance.
31     value:
32       get_attr:
33       - my_server
34       - networks
35       - private
36       - 0