feat: added rds layer and updated readme about community edition
This commit is contained in:
+12
-1
@@ -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/
|
||||
Reference in New Issue
Block a user