Download tasks/hard-task.json from Vishvam10/cloudenv: direct link, hf CLI and curl.
- Browser
- Download file 1.91 kB
-
https://huggingface.co/spaces/Vishvam10/cloudenv/resolve/main/tasks/hard-task.json
- Command line
-
hf download hf://spaces/Vishvam10/cloudenv/tasks/hard-task.json
-
curl -L -o hard-task.json https://huggingface.co/spaces/Vishvam10/cloudenv/resolve/main/tasks/hard-task.json
1.91 kB
| { | |
| "pipeline_id": "hard-task-1", | |
| "broken_pipeline": { | |
| "s3:bucket_2": [ | |
| { | |
| "service": "lambda:processor1", | |
| "policies": [ | |
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Effect": "Allow", | |
| "Action": ["lambda:InvokeFunction"], | |
| "Resource": "*" | |
| } | |
| ] | |
| } | |
| ], | |
| "config": { | |
| "service_url": "https://broken-lambda.amazonaws.com" | |
| } | |
| } | |
| ], | |
| "lambda:processor1": [ | |
| { | |
| "service": "sqs:queue1", | |
| "policies": [ | |
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Effect": "Deny", | |
| "Action": ["sqs:SendMessage"], | |
| "Resource": "*" | |
| } | |
| ] | |
| } | |
| ], | |
| "config": { | |
| "service_url": "https://broken-sqs.amazonaws.com" | |
| } | |
| } | |
| ] | |
| }, | |
| "ideal_pipeline": { | |
| "s3:bucket_2": [ | |
| { | |
| "service": "lambda:processor1", | |
| "policies": [ | |
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Effect": "Allow", | |
| "Action": ["lambda:InvokeFunction"], | |
| "Resource": "*" | |
| } | |
| ] | |
| } | |
| ], | |
| "config": { | |
| "service_url": "https://lambda.amazonaws.com" | |
| } | |
| } | |
| ], | |
| "lambda:processor1": [ | |
| { | |
| "service": "sqs:queue1", | |
| "policies": [ | |
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Effect": "Allow", | |
| "Action": ["sqs:SendMessage"], | |
| "Resource": "*" | |
| } | |
| ] | |
| } | |
| ], | |
| "config": { | |
| "service_url": "https://sqs.amazonaws.com" | |
| } | |
| } | |
| ] | |
| } | |
| } |