Skip to content

variability-inputs-requires-throw-falsy

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

Expected Error

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

Variability inputs constraints are violated

Last update: December 4, 2024