/terransible

Primary LanguageHCLApache License 2.0Apache-2.0

Create a wordpress instance in aws with terraform and ansible.

pre-requisites

download terraform and install following these instructions

download and install ansible following these instructions

Remember:

You must have ansible and terraform in your PATH environment variable to be able to execute the commands.

Keys

You'll need to have access to your AWS account using your credentials and have a private (a .pem file) key setup

First

There are a number of assumptions, and you must add your key including the path this line

  • terraform and ansible installed
  • your PATH variable set up with both applications
  • your keys to access AWS set up
  • you've edited the terraform input.tf file with your own AWS Key name
  • you've got a security group called basic-access-sg in your VPC (change to your own preferred security group name)
  • you're running this script directly in the "Terransible" directory

Run

./start.sh