Skip to main content

LocalStack Extension: localstack-extension-ecs-container-endpoints

Project description

LocalStack ECS Container Metadata Endpoints Extension

Install LocalStack 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 theamazon-ecs-local-container-endpoints process 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-endpoints is licensed under the Apache License 2.0
  • A pre-built amazon-ecs-local-container-endpoints binary 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

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file localstack_extension_ecs_container_endpoints-0.1.3.tar.gz.

File metadata

File hashes

Hashes for localstack_extension_ecs_container_endpoints-0.1.3.tar.gz
Algorithm Hash digest
SHA256 975c070870bc2a91d40180304dc02abe253ac024aff1adc3b88b6ad530853c13
MD5 230746af0c752df7274fbffa6f109afe
BLAKE2b-256 ff1e7a71c631f7756462908c9d39234df4b2b335518387d635859e2c52deb91c

See more details on using hashes here.

File details

Details for the file localstack_extension_ecs_container_endpoints-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for localstack_extension_ecs_container_endpoints-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f1f85723947980ea7c22100117456652aadb8c7edb346508d6c29838966d4654
MD5 586b905bc5ef60d8f485b1f3dac18369
BLAKE2b-256 1b17a3a82941d624957e4b1178ce23c2189cf73eb3140cb3fd11b5f38f40828f

See more details on using hashes here.

Supported by

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