Explicitly prevent deletion processing in steps in which it doesn't make
sense.
diff --git a/planetstack/ec2_observer/steps/sync_sites.py b/planetstack/ec2_observer/steps/sync_sites.py
index 7a5c0dc..c8d6490 100644
--- a/planetstack/ec2_observer/steps/sync_sites.py
+++ b/planetstack/ec2_observer/steps/sync_sites.py
@@ -12,6 +12,8 @@
requested_interval=3600
def fetch_pending(self, deletion):
+ if (deletion):
+ return []
deployment = Deployment.objects.filter(Q(name="Amazon EC2"))[0]
current_site_deployments = SiteDeployments.objects.filter(Q(deployment=deployment))