I can give you all the files in final ZIP format, but since I can’t send you a direct
.zip file here, I’ll do it like
this:
1. Provide the ZIP folder structure + every file’s full code exactly as it should be.
2. You can copy-paste into your local machine, then run one command to create the .zip.
3. I’ll also give you the exact shell command to package it into a .zip ready for Bitbucket import.
Step 1: Create the Folder Structure Locally
On your machine:
bash
CopyEdit
mkdir -p mern-devops/{infra/terraform/modules/{vpc,ec2,security-groups,ssm-secrets},infra/
terraform/envs/{dev,prod},docker,cicd,scripts}
Step 2: Copy-Paste the Files I Provide
You’ll paste the following content exactly into these files.
I’ll give you all final code for:
.[Link]
[Link]
All Terraform files
Docker + NGINX
CI/CD
Scripts