This project provides a CLI tool to get AWS ECS task definition secrets from a given task family name which are then output to a secrets.json
file.
I decided to create this tool because I was limited with my Terrafrom projects where I couldn't get task secrets out of previously created task definition revisions. (more info about this issue can be found here).
$ ecs-task-secret [OPTIONS] -p <AWS_PROFILE_NAME> -f <TASK_DEFINITION_FAMILY_NAME>
AWS account configuration is loaded from AWS Profiles, which are typically stored in ~/.aws/config
and ~/.aws/credentials
. This tool requires to have an AWS profile set up and its name is provided as an argument.
Licensed under MIT license.