88a272132ff75ab74fde6f1c180e7e2e4155661a
[parser.git] / tosca2heat / tosca-parser / toscaparser / tests / data / functions / test_get_attribute_with_index_error.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0
2
3 description: >
4   TOSCA template for testing get_attribute with a list attribute and an index
5
6 imports:
7   - ../custom_types/compute_with_attribute_list.yaml
8
9 topology_template:
10   node_templates:
11     server:
12       type: tosca.nodes.ComputeWithAttrList
13       interfaces:
14         Standard:
15           configure:
16             implementation: configure.sh
17             inputs:
18               ip_address: { get_attribute: [ SELF, private_address, 0 ] }
19