Open rajacsp opened 4 years ago
#!/bin/bash -eo pipefail SERVICE_NAME="$(echo )" if [ -z "${SERVICE_NAME}" ]; then SERVICE_NAME="$(echo flask-fargate-task)" fi DEPLOYED_REVISION=$(aws ecs update-service \ --cluster "flask-fargate" \ --service "${SERVICE_NAME}" \ --task-definition "${CCI_ORB_AWS_ECS_REGISTERED_TASK_DFN}" \ --output text \ --query service.taskDefinition) echo "export CCI_ORB_AWS_ECS_DEPLOYED_REVISION='${DEPLOYED_REVISION}'" >> $BASH_ENV An error occurred (ServiceNotFoundException) when calling the UpdateService operation: Exited with code 255