diff --git a/awxkit/awxkit/api/pages/api.py b/awxkit/awxkit/api/pages/api.py index a79e49d57e..9eb0d86942 100644 --- a/awxkit/awxkit/api/pages/api.py +++ b/awxkit/awxkit/api/pages/api.py @@ -16,6 +16,7 @@ EXPORTABLE_RESOURCES = [ 'notification_templates', 'projects', 'inventory', + 'inventory_sources', 'job_templates', 'workflow_job_templates', ] diff --git a/awxkit/awxkit/api/pages/inventory.py b/awxkit/awxkit/api/pages/inventory.py index 6d89fcba3a..e00f0d329a 100644 --- a/awxkit/awxkit/api/pages/inventory.py +++ b/awxkit/awxkit/api/pages/inventory.py @@ -474,6 +474,7 @@ class InventorySource(HasCreate, HasNotifications, UnifiedJobTemplate): optional_schedule_fields = tuple() dependencies = [Inventory] optional_dependencies = [Credential, InventoryScript, Project] + NATURAL_KEY = ('organization', 'name', 'inventory') def payload( self,