brentley / appmeshworkshop

23 stars 45 forks source link

delete 2 parameters: registeredBy & registeredAt #112

Open kappyhappy opened 3 years ago

kappyhappy commented 3 years ago

Issue #, if available:

Description of changes: Fix workshop commands. Current command causes the error shown as below.

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

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