Revision history [back]

Use the if macro:

          scheduler_hints:
            if:
              - cnd_enable_anti_affinity
              - group: {get_resource: stack-server-group}
              -