Skip to content

Commit 6ac05f5

Browse files
committed
Add tooling to update task metadata API fixtures
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. Signed-off-by: Ian Kerins <[email protected]>
1 parent 6984573 commit 6ac05f5

File tree

12 files changed

+1010
-474
lines changed

12 files changed

+1010
-474
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,5 @@ dependencies-stamp
2929
*.tar.gz
3030
/vendor
3131
.idea
32+
33+
cdk.out

ecscollector/testdata/fixtures/ec2_task_metadata.json

Lines changed: 158 additions & 128 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)