LocalStack ECS Container Metadata Endpoints Extension
An extension enabling LocalStack to provide local versions of
the ECS Task IAM Roles endpoint and
the ECS Task Metadata Endpoints.
Get the full amazon-ecs-local-container-endpoints
functionality directly in LocalStack without needing to have additional containers running!
The amazon-ecs-local-container-endpoints API is served through both the hostname
http://metadata.ecs.localhost.localstack.cloud:4566 and
the official "well-known" IP address
http://169.254.170.2.
Install
Install the extension by running:
localstack extensions install localstack-extension-ecs-container-endpoints
Usage
Configuration
The extension passes all environment variables prefixed with ECS_LOCAL_CONTAINER_ENDPOINTS_ (*with a few
exceptions)
through to the
amazon-ecs-local-container-endpoints
process. See
the upstream docs
for information on configuring amazon-ecs-local-container-endpoints.
[!IMPORTANT] Some environment variables are forcibly set to ensure the
amazon-ecs-local-container-endpointsprocess targets the running LocalStack instance. Specifically, the following environment variables will be ignored:
- IAM_ENDPOINT
- STS_ENDPOINT
- ECS_LOCAL_METADATA_PORT
Licensing
amazon-ecs-local-container-endpointsis licensed under the Apache License 2.0- A pre-built
amazon-ecs-local-container-endpointsbinary is (effectively) vendored with this extension, slight modifications are made during the build process to make it compile properly for supported operating systems and processor architectures. The modifications retain the Apache License 2.0 license. - The extension code is licensed under the AGPL-3.0-or-later
Metadata
Release files for localstack-extension-ecs-container-endpoints 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| localstack_extension_ecs_container_endpoints-0.1.3.tar.gz | 21.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| localstack_extension_ecs_container_endpoints-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.4 kB
Release files / localstack_extension_ecs_container_endpoints-0.1.3.tar.gz
| Download URL | localstack_extension_ecs_container_endpoints-0.1.3.tar.gz |
|---|---|
| Size | 21.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
975c070870bc2a91d40180304dc02abe253ac024aff1adc3b88b6ad530853c13
|
|
BLAKE2b-256 checksum How to use checksums |
ff1e7a71c631f7756462908c9d39234df4b2b335518387d635859e2c52deb91c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.8
|
Release files / localstack_extension_ecs_container_endpoints-0.1.3-py3-none-any.whl
| Download URL | localstack_extension_ecs_container_endpoints-0.1.3-py3-none-any.whl |
|---|---|
| Size | 18.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f1f85723947980ea7c22100117456652aadb8c7edb346508d6c29838966d4654
|
|
BLAKE2b-256 checksum How to use checksums |
1b17a3a82941d624957e4b1178ce23c2189cf73eb3140cb3fd11b5f38f40828f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.8
|
Security for localstack-extension-ecs-container-endpoints 0.1.3
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.