Skip to content

requirement-assignment-default-condition-throw-target

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
      requirements:
        - two:
            node: two
            conditions: true
    two:
      type: two
      conditions: false

Expected Error

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

Relation target "two" of relation "two@0" of node "one" does not exist

Last update: March 27, 2024