diff --git a/azext_iot/central/models/v2022_06_30_preview/template.py b/azext_iot/central/models/v2022_06_30_preview/template.py index 5e2c5c97d..cd4a25d22 100644 --- a/azext_iot/central/models/v2022_06_30_preview/template.py +++ b/azext_iot/central/models/v2022_06_30_preview/template.py @@ -91,6 +91,7 @@ def _extract_modules(self, template: dict) -> dict: interfaces = self._extract_interfaces(template) schema_names = self._extract_schema_names(interfaces) components = self._extract_components(template) + component_schema_names = [] if components: component_schema_names = self._extract_schema_names(components)