Skip to content

davidjeddy/wordpress-terraform

Repository files navigation

Wordpress Terraform

About

Install Wordpress in the AWS Cloud using Terraform.

Wordpress Landing Page

Credit

With assistance from http://architecture.ginocoates.com/2017/01/01/terraforming-wp-on-aws/

FAQ

Q) You derp, wp and Terraform are easy, why did you do this?

A) 'cause I am not a uber-terraform-brain like you; learning takes time and practice.

Q) I did everything it said but when I use the DNS address nothing happens, why?!

A) Terraform will output success when AWS receives the request to provision the EC2 instance; however, the instance still takes time to start up.

Q) Can I use this?

A) Yes, in accordance to the attached MIT Lic.

Q) Why am I getting charged by AWS?

A) Most likely reason is that you might have forgot to run the terraform destroy command to remove the resources that were created.

Requirements

Support

Email: [email protected]

Twitter: https://twitter.com/David_J_Eddy

Web: https://davidjeddy.com

Usage

Pre-flight

Initialize

cd /to/your/project/root/parent/directory
git clone https://github.com/davidjeddy/wp-terraform.git
cd wp-terraform
terraform init
cp ~/path/to/your/downloads/aws.pem ./aws.pem

Execute

terraform  plan --out terraform.plan --var-file=./variables.tfvars
terraform apply terraform.plan

Terminate

When you are all done remove all the created resources using

terraform destroy

About

A Wordpress AWS install controlled by Terraform 0.11.x

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published