Refactor LocalStack configuration and add Terraform scripts for AWS resources
This commit is contained in:
47
readme.md
Normal file
47
readme.md
Normal 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
|
||||
```
|
Reference in New Issue
Block a user