Refactor LocalStack configuration and add Terraform scripts for AWS resources

This commit is contained in:
Elmar Kresse
2025-08-12 11:54:54 +02:00
parent 149b10a643
commit 2c6cde91b9
13 changed files with 664 additions and 54 deletions

47
readme.md Normal file
View File

@@ -0,0 +1,47 @@
# LocalStack
LocalStack is a fully functional local AWS cloud stack. This project is designed to help you develop and test cloud applications offline.
## Features
- Fully functional local AWS cloud stack
- Supports a wide range of AWS services
- Easy to use and deploy
- Fast and reliable
## Installation
To install LocalStack, you can use the docker compose setup and run the following command:
```bash
docker-compose up
```
This starts the LocalStack services in the background.
There is also a second service named terraform that can be used to manage Terraform configurations onto the LocalStack environment.
```bash
docker-compose exec terraform /bin/sh
```
The terraform container already mounted the terraform folder the includes basic terraform configurations.
To run the Terraform commands, you can use the following command:
```bash
docker-compose exec terraform /bin/sh
```
This will give you access to a shell inside the terraform container, where you can run Terraform commands as needed.
```bash
terraform init
```
```bash
terraform apply
```
```bash
terraform destroy
```