Skip to content

variability-inputs-requires

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: true

Variability-Resolved Service Template

The following variability-resolved service template is expected.

tosca_definitions_version: tosca_simple_yaml_1_3

Last update: December 4, 2024