@@ -9,43 +9,47 @@ This project provisions the following resources on AWS:
99- ** S3 Bucket** : static website hosting
1010- ** CloudFront Distribution** : global CDN with HTTPS support
1111- ** DynamoDB Table** : to store product data
12- - ** Lambda Function** : ` get_products ` : read items from DynamoDB
13- - ** Lambda Function** : ` post_products ` : write items into DynamoDB
12+ - ** Lambda Function** : ` get_products ` : read items from DynamoDB
13+ - ** Lambda Function** : ` post_products ` : write items into DynamoDB
1414
1515### Architecture Diagram
16+
1617![ Infrastructure Diagram] ( src/infra/graph.png )
1718
1819## Project structure:
1920
2021The project is under the src folder.
2122
22- - ** infra** : contains all Terraform files; run ` terraform ` commands from here
23- - ** infra-modules** : reusable Terraform modules for resources
24- - ** lambda-function-python** : Python source code for Lambda functions
25- - ** lambda-function-python-zip** : folder used by Terraform to generate Lambda ZIPs
26- - ** web-template** : static web templates to be uploaded to S3
23+ - ** infra** : contains all Terraform files; run ` terraform ` commands from here
24+ - ** infra-modules** : reusable Terraform modules for resources
25+ - ** lambda-function-python** : Python source code for Lambda functions
26+ - ** lambda-function-python-zip** : folder used by Terraform to generate Lambda ZIPs
27+ - ** web-template** : static web templates to be uploaded to S3
2728
2829## 🚀 Commands
2930
3031Initialize, plan and apply:
3132
3233``` bash
3334terraform init
34- terraform plan -var-file=variables/dev.tfvars
35- terraform apply -var-file=variables/dev.tfvars
35+ terraform plan -var-file=' variables/dev.tfvars'
36+ terraform apply -var-file=' variables/dev.tfvars'
3637```
3738
3839Destroy infrastructure:
3940
4041``` bash
41- terraform destroy -var-file=variables/dev.tfvars
42+ terraform destroy -var-file=' variables/dev.tfvars'
4243```
4344
44- ## Future Enhancements
45- Stay tuned! This project will be extended with new features and improvements, making it an even more complete serverless case study. 🚀
45+ ## Future Enhancements
46+
47+ Stay tuned! This project will be extended with new features and improvements, making it an even more complete serverless case study. 🚀
4648
4749## License
50+
4851This project is licensed under the ** MIT License** . Use at your own risk. If something breaks, ** it's your problem!** 😆
4952
5053---
51- 🚀 Happy Coding!
54+
55+ 🚀 Happy Coding!
0 commit comments