Skip to content

[New Feature]: Ignore Unexpected key 'restartPolicy' found in params.containerDefinitions[0] #810

Description

@tanguru

Feature Description

I want to add the ignore to this key: 'restartPolicy' found in params.containerDefinitions[0]

Problem Statement

I get an error during the deploy process with task defination having restartPolicy

Run aws-actions/amazon-ecs-deploy-task-definition@v1
Error: Failed to register task definition in ECS: There were 5 validation errors:
* UnexpectedParameter: Unexpected key 'restartPolicy' found in params.containerDefinitions[0]
* UnexpectedParameter: Unexpected key 'restartPolicy' found in params.containerDefinitions[1]
* UnexpectedParameter: Unexpected key 'restartPolicy' found in params.containerDefinitions[2]
* UnexpectedParameter: Unexpected key 'restartPolicy' found in params.containerDefinitions[3]
* UnexpectedParameter: Unexpected key 'restartPolicy' found in params.containerDefinitions[4]
(node:2028) NOTE: The AWS SDK for JavaScript (v2) will enter maintenance mode

Alternatives Considered/ Work-arounds

  • Update the AWS SDK version for this action

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions