We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c59499 commit f1bca1dCopy full SHA for f1bca1d
fabfile.py
@@ -184,7 +184,7 @@ def get_or_create_cluster():
184
185
def create_or_update_ecs_service():
186
# Create the service with no workers (0 desired count)
187
- info = local('aws ecs list-services', capture=True)
+ info = local('aws ecs list-services --cluster-name '+ECS_CLUSTER, capture=True)
188
data = json.loads(info)
189
service = [srv for srv in data['serviceArns'] if srv.endswith(ECS_SERVICE_NAME)]
190
if len(service) > 0:
0 commit comments