Synchronise the openstack bugs
[parser.git] / tosca2heat / heat-translator / translator / tests / data / hot_output / hot_get_functions_semantic.yaml
1 heat_template_version: 2013-05-23
2
3 description: >
4   TOSCA template to test get_* functions semantic
5
6 parameters:
7   map_val:
8     type: string
9 resources:
10   myapp_configure_deploy:
11     type: OS::Heat::SoftwareDeployment
12     properties:
13       input_values:
14         list_val: list_val_0
15       config:
16         get_resource: myapp_configure_config
17       server:
18         get_resource: server
19     depends_on:
20     - mysql_database
21   server:
22     type: OS::Nova::Server
23     properties:
24       flavor: m1.small
25       image: ubuntu-12.04-software-config-os-init
26       user_data_format: SOFTWARE_CONFIG
27   myapp_configure_config:
28     type: OS::Heat::SoftwareConfig
29     properties:
30       group: script
31       config:
32         get_file: myapp_configure.sh
33 outputs:
34   map_val:
35     description: map_val
36     value:
37       get_input: map_val
38   concat_map_val:
39     value:
40       str_replace:
41         params:
42           $s2: :8080
43           $s0: http://
44           $s1:
45             get_input: map_val
46         template: $s0$s1$s2
47   static_map_val:
48     value: static_value
49   test_list_of_functions:
50     value:
51     - get_input: map_val
52     - static_value