This project is a simple messaging application that allows users to upload photos or files. The application utilizes AWS services to process and store the uploaded content.
terraform-aws-message-app
├── lambda
│ ├── handler.py # AWS Lambda function code
├── main.tf # Terraform configuration file
├── variables.tf # Input variables for Terraform
├── outputs.tf # Outputs of the Terraform configuration
└── README.md # Project documentation
-
Prerequisites
- Ensure you have Terraform installed on your machine.
- Configure your AWS credentials using the AWS CLI.
-
Clone the Repository
git clone https://github.com/your-repo/terraform-aws-message-app.git cd terraform-aws-message-app -
Configure Variables
- Update the
variables.tffile with your desired S3 bucket name and AWS region.
- Update the
-
Initialize Terraform
terraform init
-
Plan the Deployment
terraform plan
-
Apply the Configuration
terraform apply
-
Usage
- Once deployed, you can use the API Gateway endpoint to upload files. The Lambda function will process the uploads and store them in the specified S3 bucket.
This project is licensed under the MIT License. See the LICENSE file for more details.