`localstack/localstack:latest` will require auth token from March 23 — LocalStack module docs & examples need updating
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 52/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- docker, python
- Lĩnh vực
- devops, documentation
Hướng nghiên cứu
Bắt đầu với tài liệu và các ví dụ của module LocalStack trong modules/localstack, sau đó đọc class LocalStackContainer để hiểu cấu hình image và môi trường hiện tại của nó. Kiểm tra .github/workflows/ci-community.yml để tìm các bài kiểm thử dựa trên LocalStack. Công việc được xem là hoàn tất khi tài liệu bị ảnh hưởng, hướng dẫn thiết lập container và các yêu cầu của CI đều đề cập đến các yêu cầu của LOCALSTACK_AUTH_TOKEN.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hey folks 👋
I'm Harsh from the LocalStack team. Wanted to flag an upcoming change that will directly affect users of the LocalStack module in this library.
What's changing: Starting March 23, 2026, localstack/localstack:latest on Docker Hub will consolidate into a single unified image that requires authentication via a LOCALSTACK_AUTH_TOKEN. The free Community image, as it exists today, will no longer be available under that tag without an auth token set.
What this means for this repo:
The LocalStackContainer in modules/localstack pulls localstack/localstack by default to spin up the container during tests. Any user who instantiates LocalStackContainer after March 23 without a LOCALSTACK_AUTH_TOKEN set will hit an authentication error and their tests will fail immediately.
The places most likely to need updating:
- The LocalStack module docs and any related examples in
modules/localstack, which don't currently mention auth token setup as a prerequisite - The
LocalStackContainerclass itself, where passingLOCALSTACK_AUTH_TOKENas an environment variable should be documented or facilitated - The CI/CD pipeline (
.github/workflows/ci-community.yml) if it runs LocalStack-based tests without an auth token
What users will need to do:
- Sign up for a free LocalStack account at [localstack.cloud](https://localstack.cloud/)
- Generate an auth token from the LocalStack Web App
- Set
LOCALSTACK_AUTH_TOKENas an environment variable when starting the container
With testcontainers-python, this would look like:
import os
from testcontainers.localstack import LocalStackContainer
with LocalStackContainer() \
.with_env("LOCALSTACK_AUTH_TOKEN", os.environ.get("LOCALSTACK_AUTH_TOKEN", "")) as localstack:
# your test code here
pass
The good news: A free tier is staying — no one has to pay. CI credits are now unlimited on all plans, including free, and open-source projects like this one can apply for free access to paid plans.
Full details in our announcements:
- https://blog.localstack.cloud/the-road-ahead-for-localstack/
- https://blog.localstack.cloud/localstack-single-image-next-steps/
- https://blog.localstack.cloud/2026-upcoming-pricing-changes/
Happy to help with any doc updates, review PRs, or answer questions. Let us know if there's anything we can do to make this easier — and thanks for maintaining the LocalStack module for the Python community! 🙏
- Ngôn ngữ chính
- Python
- Star
- 2.3k
- Fork
- 386
- Merge trung bình
- 4 giờ 40 phút
- Pull request đã merge (30 ngày)
- 1
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của testcontainers/testcontainers-python
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
testcontainers/testcontainers-python#1115 · 1 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Updating the documentation Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
testcontainers/testcontainers-python#1086 · 1 bình luận ·
-
Bug: [minio] _healthcheck calls for nested wait_container_is_ready resulting in long wait time Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
testcontainers/testcontainers-python#578 · 5 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
Tất cả issue của testcontainers/testcontainers-python
Issue tương tự
-
Add: hunch Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
AbdelStark/awesome-typesafe#104 ·
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
DiamondLightSource/dodal#2211 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
openml/openml-python#1749 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
sipyourdrink-ltd/bernstein#6191 ·