brentley / appmeshworkshop

23 stars 45 forks source link

Update createservice.md #120

Closed bluecrayon52 closed 3 years ago

bluecrayon52 commented 3 years ago

The following command produces an error:

workshop:~/environment $ echo $TASK_DEF_NEW > /tmp/$TASK_DEF_FAMILY.json && 
> # Register ecs task definition #
> aws ecs register-task-definition \
>   --cli-input-json file:///tmp/$TASK_DEF_FAMILY.json

Parameter validation failed:
Unknown parameter in input: "registeredBy", must be one of: family, taskRoleArn, executionRoleArn, networkMode, containerDefinitions, volumes, placementConstraints, requiresCompatibilities, cpu, memory, tags, pidMode, ipcMode, proxyConfiguration, inferenceAccelerators
Unknown parameter in input: "registeredAt", must be one of: family, taskRoleArn, executionRoleArn, networkMode, containerDefinitions, volumes, placementConstraints, requiresCompatibilities, cpu, memory, tags, pidMode, ipcMode, proxyConfiguration, inferenceAccelerators 

Description of changes: Removing unknown parameters registeredAt and registeredBy from new task definition for ecs register-task-definition request.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

bluecrayon52 commented 3 years ago

duplicate request (see #112)