- checkov
- ludicrousdb
This project is to create a high availability wordpress web-server on AWS base on Terraform - an IaC platform.
- Terraform v1.2.2 or later https://www.terraform.io/downloads/
- AWS CLI ver2 https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html/
- Shell (SH), Powershell (if you are using Windows)
Please follow this link
- Install all prerequisites above
- Deploy
cd ~/wordpress-on-aws-with-terraform/main
terraform init
terraform plan
terraform apply
- Destroy
terraform destroy
├───📁 .github/
│ └───📁 workflows/
│ ├───📄 notify.yaml
│ └───📄 infra-cost.yaml
│ └───📄 release.yaml
├───📁 modules/
│ ├───📁 autoscaling/
│ │ ├───📄 main.tf
│ │ ├───📄 outputs.tf
│ │ ├───📄 userdata.tftpl
│ │ └───📄 variables.tf
│ ├───📁 database/
│ │ ├───📁 resources/
│ │ │ └───...
│ │ ├───📄 db-rotate.tf
│ │ ├───📄 local.tf
│ │ ├───📄 main.tf
│ │ ├───📄 output.tf
│ │ └───📄 variables.tf
│ ├───📁 efs/
│ │ ├───📄 main.tf
│ │ ├───📄 outputs.tf
│ │ └───📄 variables.tf
│ ├───📁 elasticache/
│ │ ├───📄 main.tf
│ │ ├───📄 outputs.tf
│ │ └───📄 variables.tf
│ ├───📁 networking/
│ │ ├───📄 main.tf
│ │ ├───📄 outputs.tf
│ │ └───📄 variables.tf
│ └───📁 s3/
│ ├───📄 main.tf
│ ├───📄 outputs.tf
│ └───📄 variables.tf
├───📁 main/
│ ├───📄 locals.tf
│ ├───📄 main.tf
│ ├───📄 outputs.tf
│ ├───📄 provider.tf
│ ├───📄 README.md
│ └───📄 variables.tf
├───📄 .editorconfig
├───📄 .gitignore
├───📄 howtocontribute.md
├───📄 README.md
└───📄 repos.yaml