bottlerocket-os / bottlerocket-ecs-updater

A service to automatically manage Bottlerocket updates in an Amazon ECS cluster.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scheduled Fargate Task that can List Instances

webern opened this issue · comments

  • Create a program that, when running inside of Fargate, can list the Container Instances (i.e. Nodes) in an ECS cluster. The list, or success/failure can be printed to stdout.
  • Using CloudFormation, create a cron schedule which runst the Fargate task.
  • Deploy the scheduled Fargate task and observe that it runs on schedule, and successfully makes the list container instances call. This verification can be manual, e.g. using logs.

Addressed in #31