Add tooling to update task metadata API fixtures #112
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The task metadata API fixtures I've previously created in this repository were sourced from real ECS tasks managed by AWS CDK. But how to reproduce that was left as an exercise to the reader.
Here, I am adding a CDK app and instructions that will enable anybody with an AWS account and the willingness to install NodeJS and some other tools on their computer to update the fixtures.
I have updated the fixtures by following the instructions I added to the README. There are few substantive changes from the previous fixtures, but there is a fair amount of churn, much of which is unavoidable (timestamps, autoincrementing version numbers, etc), but some of which can be eliminated through some new simple sorting of the API responses, which should reduce churn going forward.