Fix ec2 discovery groups/tags validation for syntax additions.