Skip to content

relationships-throw-undefined

Variable Service Template

The variability of the following variable service template shall be resolved.

tosca_definitions_version: tosca_variability_1_0
topology_template:
  variability:
    options:
      type_default_condition: true
  node_templates:
    one:
      type: one
      conditions: false
      requirements:
        - two:
            node: two
            conditions: false
            relationship: rtwo
    two:
      type: two
      requirements:
        - three:
            node: three
            relationship: rthree
    three:
      type: three
  relationship_templates:
    rtwo:
      type: rtwo

Expected Error

The following error is expected to be thrown, when resolving variability.

Relationship "rthree" of relation "three" of node "two" does not exist!

Last update: March 27, 2024