Skip to main content

"A package to edit image uri on ecs task definition"

Project description

Amazon ECS task definition rendering CLI

A package for ECS task definition rendering. From the idea of GitHub action, I've started to work on this little tool that is usable locally or from your runners with AWS role attached. With this tool is possible to chose a profile to use, define the task definition family name and all the image uri to update in a single command.

Table of Content

Installation


You can install the package using pip install aws-ecs-task-render.

Usage

Once installed, it's possible to use the CLI simply running the command:

aws-ecs-task-render -p your_profile -f task_family_name -if image_name=new_image_uri

It's possible to update more than one image at time adding other key=value to the -if command like that:

aws-ecs-task-render -p your_profile -f task_family_name -if image_name_1=new_image_uri_1 image_name_2=new_image_uri_2

This tool can be used only to update an already existing container definition, it cannot add a new one. It doesn't generate a new task definition, it only render it returning a cleaned json output usable for a new task definition creation.

License Summary

This code is made available under the GPLv3 license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aws-ecs-task-render-0.6.0.tar.gz (16.3 kB view hashes)

Uploaded Source

Built Distribution

aws_ecs_task_render-0.6.0-py3-none-any.whl (17.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page