Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

davidjeddy/wordpress-terraform

Repository files navigation

[!WARNING] ⚠️ This project has been archived and is no longer maintained. ⚠️

Github has shown it does not respect its users. Other have said it better than I can.

Development has moved to Codeberg: ➡️ https://codeberg.org/DavidJEddy/wordpress-terraform

Please update your remotes:

git remote set-url origin https://codeberg.org/DavidJEddy/wordpress-terraform

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: me@davidjeddy.com

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

Contributors

AltStyle によって変換されたページ (->オリジナル) /