diff --git a/ecs_composex/ingress_settings.py b/ecs_composex/ingress_settings.py index cadf9127..8c6d3b59 100644 --- a/ecs_composex/ingress_settings.py +++ b/ecs_composex/ingress_settings.py @@ -251,6 +251,7 @@ def set_aws_sources_ingress(self, settings, destination_title, sg_ref) -> None: for port in self.ports: if ( keyisset("Ports", source) + and keyisset("published", port) and port["published"] not in source["Ports"] ): continue