Skip to content

Policy Has No Targets

Description

The policy "policy_one" has no targets. Thus, the policy has no present targets and, therefore, is removed.

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
    policies:
        - policy_one:
              type: policy_one
              targets: []
              conditions:
                  has_present_target: policy_one

Variability-Resolved Service Template

The following variability-resolved service template is expected.

tosca_definitions_version: tosca_simple_yaml_1_3

Last update: December 13, 2024