Vishnu Duggirala
09/26/2024, 8:21 PMValueError: Either an image or remote storage location must be provided when deploying a deployment.
Here is how I'm creating the deployment. In the worker pool I have given image, vpc_id, task-defination, all the necessary details for the task.
if __name__ == "__main__":
taskdef_arn = f"arn:aws:ecs:us-west-2:{sys.argv[1]}:task-definition/{sys.argv[2]}"
workflow.deploy(
name="workflow-deploy",
tags=['ECS-task'],
work_pool_name="proto",
job_variables=dict(task_definition_arn = taskdef_arn),
schedules = [(CronSchedule(cron="0 0-23 * * *", timezone="UTC"))]
)
Vishnu Duggirala
09/27/2024, 5:02 PM