This project contains terraform configuration files on creating EC2 and RDS instances inside a Custom VPC on AWS. Here is the architecture of what will be created:
Create a secrets file called secrets.tfvars and populate it with the follow secrets:
- db_username <-- this is going to be the master user for RDS
- db_password <-- this is going to be the RDS master user's password
- my_ip <-- this is going to be your public IP
Run the command: terraform init
Run the command: terraform apply -var-file="secrets.tfvars"
Run the command: terraform destroy -var-file="secrets.tfvars"