"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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aws-ecs-task-render-0.6.0.tar.gz.
File metadata
- Download URL: aws-ecs-task-render-0.6.0.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33114b74abbcc0b344f51d4caa245cb804fccc6983fae2b9d083bd25477ed9af
|
|
| MD5 |
bc3721b7fd0fbb1bf9587871e4918ecd
|
|
| BLAKE2b-256 |
4a31bb8a339cae9147352d53dfeeed6b4a816c0a168f8874d0a49638b76c4286
|
File details
Details for the file aws_ecs_task_render-0.6.0-py3-none-any.whl.
File metadata
- Download URL: aws_ecs_task_render-0.6.0-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18e66993590c4270eba6153f925bbdd90893232680c598b521fa0d493700bbf4
|
|
| MD5 |
e2cb02b4fabeea05ff5460fc3ea54df6
|
|
| BLAKE2b-256 |
61a805fef32b597656ad2dad9a184241374a978fab80016aa6f480fdeb116b3d
|