tosca-community-contributions icon indicating copy to clipboard operation
tosca-community-contributions copied to clipboard

Do we need groups or can they be replaced with policies?

Open aszs opened this issue 2 years ago • 2 comments

aszs avatar Mar 10 '22 17:03 aszs

Do we need groups or

From my experience, group is a TOSCA construct little used.

can they be replaced with policies?

Yes. A policy can refer several node templates like a group does.

philippemerle avatar Mar 11 '22 13:03 philippemerle

Groups are currently only used in policy definitions as a short-cut to associate a policy with a collection of nodes without having to list those nodes individually directly in the policy definition. I'm not aware of any other uses for groups.

lauwers avatar Mar 12 '22 01:03 lauwers