Skip to content

variability-inputs-requires-throw

Variable Service Template

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

tosca_definitions_version: tosca_variability_1_0
topology_template:
    variability:
        inputs:
            first:
                type: boolean
                default: true
                requires: second
            second:
                type: boolean
                default: false

Expected Error

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

Variability inputs constraints are violated

Last update: November 20, 2024