LocalStack Extension: localstack-extension-ecs-container-endpoints
Project description
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
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 localstack_extension_ecs_container_endpoints-0.1.3.tar.gz.
File metadata
- Download URL: localstack_extension_ecs_container_endpoints-0.1.3.tar.gz
- Upload date:
- Size: 21.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
975c070870bc2a91d40180304dc02abe253ac024aff1adc3b88b6ad530853c13
|
|
| MD5 |
230746af0c752df7274fbffa6f109afe
|
|
| BLAKE2b-256 |
ff1e7a71c631f7756462908c9d39234df4b2b335518387d635859e2c52deb91c
|
File details
Details for the file localstack_extension_ecs_container_endpoints-0.1.3-py3-none-any.whl.
File metadata
- Download URL: localstack_extension_ecs_container_endpoints-0.1.3-py3-none-any.whl
- Upload date:
- Size: 18.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1f85723947980ea7c22100117456652aadb8c7edb346508d6c29838966d4654
|
|
| MD5 |
586b905bc5ef60d8f485b1f3dac18369
|
|
| BLAKE2b-256 |
1b17a3a82941d624957e4b1178ce23c2189cf73eb3140cb3fd11b5f38f40828f
|