Getting "unexpected key" github CI error while deploying aws ecs clusters
siddhant-mohan opened this issue · 2 comments
I am getting following error when i use it for deployment on github ci
`Warning: Ignoring property 'compatibilities' 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: Ignoring property 'taskDefinitionArn' 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: Ignoring property 'requiresAttributes' 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: Ignoring property 'revision' 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: 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.
Error: Failed to register task definition in ECS: There were 2 validation errors:
- UnexpectedParameter: Unexpected key 'registeredAt' found in params
- UnexpectedParameter: Unexpected key 'registeredBy' found in params
Error: There were 2 validation errors: - UnexpectedParameter: Unexpected key 'registeredAt' found in params
- UnexpectedParameter: Unexpected key 'registeredBy' found in params`
closing in favor of aws-actions/amazon-ecs-deploy-task-definition#164