This is the project for hosting wordpress on ASG with Aurora database claster including one writer and three readers
In order to use this project:
- Please configure environment variables under GitHub Actions settings
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
- Please configure remote backend with your s3 backet name in all backend.tf files:
- Please configure data source backend with s3 backet name in all data.tf files:
- Please configure your zone ID and domain name in all terraform.auto.tfvars files:
- Please configure your domain name in wordpress.sh script
After all configurations is done, please uncomment desired region apply block in vpc.yml rds.yml asg.yml.
Commit changes, GitHub actions will be triggered and you will get a wordpress. Thank you!