question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Are the new Task types (e.g., ECS, SNS, etc) supported?

See original GitHub issue

I’ve been using this project heavily for local testing with step functions and it has been working great 🍺

A few months ago, AWS added support for executing a variety of AWS services from Step Functions, including ECS, SNS, etc. I tried the following to run an ECS Task:

    "example-ecs-task": {
      "Resource": "arn:aws:states:::ecs:runTask.sync",
      "Type": "Task",
      "Parameters": {
        "Cluster": "my-ecs-cluster",
        "LaunchType": "FARGATE",
        "TaskDefinition": "example-ecs-task"
      },
      "Next": "some-other-state"
    }

When I try to run the state machine, I get the error:

Error while retrieving task type of resource: arn:aws:states:::ecs:runTask.sync

Is this not yet supported?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
brikis98commented, Jan 23, 2019

So you created your own Lambda “server” running locally, right?

Yea, a very simple one, but it does the job!

0reactions
ChristopheBougerecommented, Jan 28, 2019

stepfunctions-local@1.2.0 published

Read more comments on GitHub >

github_iconTop Results From Across the Web

Task definition parameters - Amazon Elastic Container Service
For more information, see Example task definitions. ... variants with the ecs-init package, or AWS Fargate infrastructure support the awsvpc network mode.
Read more >
ECS Task Archives
Check the archives of ECS Task articles on Jayendra's Blog. Here is all you need to know about ECS Task .
Read more >
class ECS. Client - Boto3 Docs 1.26.39 documentation - AWS
You control your services using the CreateTaskSet operation. For more information, see Amazon ECS deployment types in the Amazon Elastic Container Service ...
Read more >
Run tasks with AWS Fargate and Lambda - Manish Pandit's Blog
We create an ECS Task definition, a Fargate Cluster, and a Lambda to run ... have to worry about the AMI, EC2 types,...
Read more >
AWS ECS Vs. EKS Vs. Fargate: Which One Should You Use?
As you can see, the only real comparison we can make here is between Amazon ECS and Amazon EKS. Amazon Fargate is an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found