https://github.com/magdyamr542/terraform-aws
Testing terraform with aws
https://github.com/magdyamr542/terraform-aws
Last synced: 3 months ago
JSON representation
Testing terraform with aws
- Host: GitHub
- URL: https://github.com/magdyamr542/terraform-aws
- Owner: magdyamr542
- Created: 2023-09-25T12:33:16.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-22T19:55:52.000Z (almost 2 years ago)
- Last Synced: 2025-05-29T23:43:56.265Z (4 months ago)
- Language: HCL
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Pipeline:
```mermaid
flowchart TB
Client[Client] --Upload JSON file--> S3
Client ~~~|"Can be any client.\nWill be done with the AWS cli."| Client
S3[S3\nBucket 1] --Fire event and invoice lambda 1--> Lambda
Lambda[Lambda 1] --Put payload in queue--> SQS
SQS --Invoke lambda 2 with messages from the queue--> Lambda_2
Lambda_2[Lambda 2] --Put queue payload in Bucket 2 as a JSON file--> S3_2
S3_2[S3\nBucket 2] -->End
```The infrastructure should be reproducible. Terraform is used to provision the needed components in AWS.
All components should have the needed permissions to do their job. Example: S3 needs to have permissions to trigger the lambda. Lambda should have permissions to put messages in the queue etc.