diff --git a/.github/workflows/aws-replicator.yml b/.github/workflows/aws-proxy.yml similarity index 94% rename from .github/workflows/aws-replicator.yml rename to .github/workflows/aws-proxy.yml index f412dccb..c7403585 100644 --- a/.github/workflows/aws-replicator.yml +++ b/.github/workflows/aws-proxy.yml @@ -20,10 +20,10 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Set up Python 3.11 + - name: Set up Python 3.x uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: '3.13' - name: Set up Terraform CLI uses: hashicorp/setup-terraform@v2 @@ -61,8 +61,8 @@ jobs: pip install awscli-local[ver1] pip install terraform-local - find /home/runner/.cache/localstack/volume/lib/extensions/python_venv/lib/python3.11/site-packages/aws* - ls -la /home/runner/.cache/localstack/volume/lib/extensions/python_venv/lib/python3.11/site-packages/aws* + find /home/runner/.cache/localstack/volume/lib/extensions/python_venv/lib/python3.*/site-packages/aws* + ls -la /home/runner/.cache/localstack/volume/lib/extensions/python_venv/lib/python3.*/site-packages/aws* DEBUG=1 GATEWAY_SERVER=hypercorn localstack start -d localstack wait diff --git a/.github/workflows/miniflare.yml b/.github/workflows/miniflare.yml index 826707fe..5b64c581 100644 --- a/.github/workflows/miniflare.yml +++ b/.github/workflows/miniflare.yml @@ -20,11 +20,11 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Set up Python 3.10 + - name: Set up Python 3.x id: setup-python uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: '3.13' - name: Install LocalStack and extension env: diff --git a/README.md b/README.md index f801c6e6..f3c2a499 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ You can install the respective extension by calling `localstack install " @@ -71,17 +71,17 @@ def set_status(self, request: Request, **kwargs): @route("/", methods=["GET"], host=ROUTE_HOST) def forward_from_root(self, request: Request, **kwargs): - return redirect(f"{INTERNAL_RESOURCE_PATH}/aws-replicator/index.html") + return redirect(f"{INTERNAL_RESOURCE_PATH}/aws-proxy/index.html") - @route(f"{INTERNAL_RESOURCE_PATH}/aws-replicator", methods=["GET"]) + @route(f"{INTERNAL_RESOURCE_PATH}/aws-proxy", methods=["GET"]) def forward_from_extension_root(self, request: Request, **kwargs): - return redirect(f"{INTERNAL_RESOURCE_PATH}/aws-replicator/index.html") + return redirect(f"{INTERNAL_RESOURCE_PATH}/aws-proxy/index.html") @route("/favicon.png", methods=["GET"], host=ROUTE_HOST) def serve_favicon(self, request: Request, **kwargs): return self.serve_static_file("/favicon.png") - @route(f"{INTERNAL_RESOURCE_PATH}/aws-replicator/", methods=["GET"]) + @route(f"{INTERNAL_RESOURCE_PATH}/aws-proxy/", methods=["GET"]) def get_web_asset(self, request: Request, path: str, **kwargs): return self.serve_static_file(path) diff --git a/aws-proxy/aws_proxy/server/ui/index.html b/aws-proxy/aws_proxy/server/ui/index.html index 787f90b1..7ab62c64 100644 --- a/aws-proxy/aws_proxy/server/ui/index.html +++ b/aws-proxy/aws_proxy/server/ui/index.html @@ -2,7 +2,7 @@ - AWS Replicator - LocalStack Extension + AWS Cloud Proxy - LocalStack Extension diff --git a/aws-proxy/example/Makefile b/aws-proxy/example/Makefile index cbdb8468..ef686fba 100644 --- a/aws-proxy/example/Makefile +++ b/aws-proxy/example/Makefile @@ -6,7 +6,7 @@ test: ## Run the end-to-end test with a simple sample app echo "Creating SQS queue in real AWS"; \ aws sqs create-queue --queue-name test-queue1; \ queueUrl=$$(aws sqs get-queue-url --queue-name test-queue1 | jq -r .QueueUrl); \ - echo "Starting AWS replicator proxy"; \ + echo "Starting AWS Proxy"; \ (DEBUG=1 localstack aws proxy -s s3,sqs --host 0.0.0.0 & ); \ echo "Deploying Terraform template locally"; \ tflocal init; \ diff --git a/aws-proxy/setup.cfg b/aws-proxy/setup.cfg index 079b8c46..dcdbc4c6 100644 --- a/aws-proxy/setup.cfg +++ b/aws-proxy/setup.cfg @@ -1,7 +1,7 @@ [metadata] name = localstack-extension-aws-proxy -version = 0.2.0 -summary = LocalStack AWS Proxy Extension +version = 0.2.1 +summary = LocalStack AWS Cloud Proxy description = Proxy AWS resources into your LocalStack instance long_description = file: README.md long_description_content_type = text/markdown; charset=UTF-8