Skip to content

artifacts-throw-ambiguous-default

Variable Service Template

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

tosca_definitions_version: tosca_variability_1_0
topology_template:
    node_templates:
        node_one:
            type: node
            artifacts:
                - artifact_one_one:
                      type: artifact_a
                      default_alternative: true
                - artifact_one_one:
                      type: artifact_b
                      default_alternative: true

Expected Error

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

Artifact "artifact_one_one@0" of node "node_one" has multiple defaults

Last update: December 13, 2024