diff --git a/tools/yaml-validate.py b/tools/yaml-validate.py index e107d626d8..b268885232 100755 --- a/tools/yaml-validate.py +++ b/tools/yaml-validate.py @@ -1152,8 +1152,9 @@ def validate(filename, param_map): in_resources = str_p in str(tpl.get('resources', {})) in_outputs = str_p in str(tpl.get('outputs', {})) in_conditions = str_p in str(tpl.get('conditions', {})) + in_parameter_groups = str_p in str(tpl.get('parameter_groups', {})) if (not in_resources and not in_outputs and not in_conditions - and args.quiet < 2): + and not in_parameter_groups and args.quiet < 2): print('Warning: parameter %s in template %s ' 'appears to be unused' % (p, filename))