1
0

feat: added rds layer and updated readme about community edition

This commit is contained in:
xpk
2026-02-20 08:29:14 +08:00
parent 44c1f9ca48
commit c96abf07eb
8 changed files with 193 additions and 1 deletions
+12 -1
View File
@@ -7,6 +7,17 @@ docker run -e LOCALSTACK_AUTH_TOKEN=ls-xxx-yyy-zzz-aaa-bbb -it \
--name localstack --network macvlan localstack/localstack-pro localstack
```
or use community edition while it is still available
```bash
docker run \
-e AWS_ACCESS_KEY_ID=test \
-e AWS_SECRET_ACCESS_KEY=test \
-e SERVICES="s3,iam,lambda,dynamodb,cloudwatch,rds,ec2,secretsmanager" \
-e DEBUG=1 \
-v /run/containerd/containerd.sock:/var/run/docker.sock \
-d --rm --name localstack --network macvlan localstack/localstack localstack
```
In terraform, configure aws endpoints to go to localstack and add localstack required configurations:
```hcl
provider "aws" {
@@ -66,5 +77,5 @@ Also, ec2 instance's associate_public_ip_address attribute is always set to true
it is set to false in my code. This caused the instance to be redeployed everytime terraform
apply is ran.
The free edition of LocalStack does not support rds, among other services described in
Both the free and community editions of LocalStack do not support rds, among other services described in
https://docs.localstack.cloud/aws/licensing/