pipecd icon indicating copy to clipboard operation
pipecd copied to clipboard

Cannot deploy app successful with ecs provider

Open hblab-ngocnd opened this issue 3 years ago • 0 comments

What happened:

I try deploy amazon ecs task with pipeCD, on pipeCD console show failure status but when i check on aws console, i see new task are created with new revision.

This is error message on pipeCD console

Failed to rolling out ECS task set for service xxxx: failed to create ECS task set arn:xxx:29: operation error ECS: CreateTaskSet, https response error StatusCode: 400, RequestID: f83d50b0-5c3f-4919-bb5e-c5078df993f7, InvalidParameterException: Container Name can not be blank.

But i'm sure i specified the container name in taskdef.yml file below:

containerDefinitions:
  - command: null
    image: xxxx:latest
    name: xxxxxx

What you expected to happen: Deploy successful

How to reproduce it:

  • Create app with kind is ECS
  • Setting required info
  • Push code to repo
  • Show pipeCD console log

Environment:

  • piped version: v0.34.0
  • control-plane version: v0.35.1
  • Others:

hblab-ngocnd avatar Aug 10 '22 01:08 hblab-ngocnd

caused by wrong setting so close 👍

khanhtc1202 avatar Aug 17 '22 04:08 khanhtc1202