Skip to content

Step fails with no error message #6

Open
@DuncanTormey

Description

@DuncanTormey

I am using this action to run Django migration prior to deployment. It worked great the first time, but now the step is erroring out with an empty error message. I am not seeing the task show up in AWS console.

Here is the output I see:

Run muya/amazon-ecs-run-task@v1
  with:
    task-definition: /home/runner/work/_temp/task-definition--1908-YPaJWQ3ujiyu-.json
    cluster: redacted
    count: 1
    started-by: github-actions-DuncanTormey
    wait-for-finish: true
    subnets: redacted
    security-groups: redacted
    launch-type: FARGATE
  env:
    AWS_DEFAULT_REGION: redacted
    AWS_REGION: redacted
    AWS_ACCESS_KEY_ID: ***
    AWS_SECRET_ACCESS_KEY: ***
Warning: Ignoring property 'status' in the task definition file. This property is returned by the Amazon ECS DescribeTaskDefinition API and may be shown in the ECS console, but it is not a valid field when registering a new task definition. This field can be safely removed from your task definition file.
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
All tasks have stopped. Watch progress in the Amazon ECS console: https://console.aws.amazon.com/ecs/home?region=redacted#/clusters/redacted/tasks
Error: 

Any ideas on what the empty Error might mean? At first I thought it might be a permissions issue, but the task worked great the first time.

Thanks for the great work on this GHA, really appreciate keeping this around when AWS should have implemented it 3 years ago.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions