Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

ECS Files Composer

https://img.shields.io/pypi/v/ecs_files_composer.svg https://codebuild.eu-west-1.amazonaws.com/badges?uuid=eyJlbmNyeXB0ZWREYXRhIjoiRWk3VUhxUi9peEdZRGs2cGFiTk5XM0VDK1FEQTBMN2JTdHh5b091NTVVdFd3RmpoM1lpdGkrTGtTZDJzVCt5dDBCc3Zsc0dXWHI5RHJRSG82UFJNdUJzPSIsIml2UGFyYW1ldGVyU3BlYyI6InJlYXlBWStNMDVZNEoyMnQiLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D&branch=main

What does it do?

ECS Files Composer, although can be used in EKS and other Docker context, is a small program that will allow users to define files they need pulled out of AWS Services, such as AWS S3 or AWS SSM Parameter Store, and load the content to a given location, adding builtin capabilities to set file ownership, mode, and other handy features.

The configuration of the job to perform can be written in YAML or JSON (see examples), so long as they comply to a given schema.

Why use it?

Having your core application, when reliant on configuration files, can be tricky to start in a way that the configuration needs to be pulled first and then started. This can add un-necessary complexity and logic to the application. And some docker images you might pull off the shelves from DockerHub do not necessarily allow for configuration override from environment variables.

By using a sidecar that handles all of that logic, you delegate all of these activities to it. And with the ability to define which container to start first with success criteria, you also ensure that your application won’t start without the configuration files it needs.

How to use it ?

Full official documentation

Docker

docker run public.ecr.aws/compose-x/ecs-files-composer:${VERSION:-latest} -h
docker run -v $PWD:/ /var/tmp,:/public.ecr.aws/compose-x/ecs-files-composer:${VERSION:-latest} -f files.yaml

CLI

usage: ecs_files_composer [-h] [-f FILE_PATH | -e ENV_VAR | --from-ssm SSM_CONFIG | --from-s3 S3_CONFIG] [--role-arn ROLE_ARN] [_ ...]

optional arguments:
  -h, --help            show this help message and exit
  -f FILE_PATH, --from-file FILE_PATH
                        Configuration for execution from a file
  -e ENV_VAR, --from-env-var ENV_VAR
                        Configuration for execution is in an environment variable
  --from-ssm SSM_CONFIG
                        Configuration for execution is in an SSM Parameter
  --from-s3 S3_CONFIG   Configuration for execution is in an S3
  --role-arn ROLE_ARN   The Role ARN to use for the configuration initialization

Metadata

Release files for ecs_files_composer 3.0.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ecs_files_composer 3.0.0rc1
File Size Uploaded Provenance Actions
ecs_files_composer-3.0.0rc1.tar.gz 24.4 kB Without provenance Details for ecs_files_composer-3.0.0rc1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ecs_files_composer 3.0.0rc1
File Interpreter ABI Platform Actions
ecs_files_composer-3.0.0rc1-py3-none-any.whl Python 3 none any Details for ecs_files_composer-3.0.0rc1-py3-none-any.whl

Total release size: 52.8 kB

Release files / ecs_files_composer-3.0.0rc1.tar.gz

Download URL ecs_files_composer-3.0.0rc1.tar.gz
Size 24.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e030b55b5f043de665a1e708d79b747f1501d9b863f1a856813201149ca26654
BLAKE2b-256 checksum
How to use checksums
da4c2741c5b0a4d98be990816300af2470ef7bed4f111ff16535fa214a8e42c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.5.1 CPython/3.14.10 Linux/6.18.54-talos

Release files / ecs_files_composer-3.0.0rc1-py3-none-any.whl

Download URL ecs_files_composer-3.0.0rc1-py3-none-any.whl
Size 28.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
828797537394935f6fd34d8073ef50d87879a196001befc46305d6934aca9117
BLAKE2b-256 checksum
How to use checksums
b9d07bec99e9e0e4027736793852d2d9b7b1f707915cfb8905706fb66ddd2f47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.5.1 CPython/3.14.10 Linux/6.18.54-talos

Security for ecs_files_composer 3.0.0rc1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page