├── README.md ├── ansible-playbooks ├── inventory │ ├── group_vars │ │ └── all-sample.yaml │ └── terraform_inv.py ├── roles │ ├── common │ │ └── tasks │ │ │ └── main.yaml │ ├── db │ │ └── tasks │ │ │ ├── configure-replication-master.yaml │ │ │ ├── configure-replication-slave.yaml │ │ │ ├── create-wordpress-db.yaml │ │ │ └── main.yaml │ └── web │ │ ├── files │ │ ├── db-config.php │ │ ├── db.php │ │ ├── default.conf │ │ ├── wordpress.config │ │ └── wp-config.php │ │ └── tasks │ │ ├── configure-nginx.yaml │ │ ├── configure-wordpress.yaml │ │ └── main.yaml └── site.yaml ├── cis.tf ├── cloud-init-dbtier.tf ├── cloud-init-webapptier.tf ├── compute.tf ├── docs ├── ansible.md ├── images │ ├── application-data-flow.png │ ├── browser-language.png │ ├── customize.png │ ├── infrastructure-architecture.png │ ├── install-wordpress.png │ └── log-in.png ├── terraform.md └── vpn.md ├── lbaas.tf ├── main.tf ├── network-acls.tf ├── outputs.tf ├── provider.tf ├── securitygroups.tf ├── variables.tf └── vpn.tf /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/README.md -------------------------------------------------------------------------------- /ansible-playbooks/inventory/group_vars/all-sample.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/ansible-playbooks/inventory/group_vars/all-sample.yaml -------------------------------------------------------------------------------- /ansible-playbooks/inventory/terraform_inv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/ansible-playbooks/inventory/terraform_inv.py -------------------------------------------------------------------------------- /ansible-playbooks/roles/common/tasks/main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/ansible-playbooks/roles/common/tasks/main.yaml -------------------------------------------------------------------------------- /ansible-playbooks/roles/db/tasks/configure-replication-master.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/ansible-playbooks/roles/db/tasks/configure-replication-master.yaml -------------------------------------------------------------------------------- /ansible-playbooks/roles/db/tasks/configure-replication-slave.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/ansible-playbooks/roles/db/tasks/configure-replication-slave.yaml -------------------------------------------------------------------------------- /ansible-playbooks/roles/db/tasks/create-wordpress-db.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/ansible-playbooks/roles/db/tasks/create-wordpress-db.yaml -------------------------------------------------------------------------------- /ansible-playbooks/roles/db/tasks/main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/ansible-playbooks/roles/db/tasks/main.yaml -------------------------------------------------------------------------------- /ansible-playbooks/roles/web/files/db-config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/ansible-playbooks/roles/web/files/db-config.php -------------------------------------------------------------------------------- /ansible-playbooks/roles/web/files/db.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/ansible-playbooks/roles/web/files/db.php -------------------------------------------------------------------------------- /ansible-playbooks/roles/web/files/default.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/ansible-playbooks/roles/web/files/default.conf -------------------------------------------------------------------------------- /ansible-playbooks/roles/web/files/wordpress.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/ansible-playbooks/roles/web/files/wordpress.config -------------------------------------------------------------------------------- /ansible-playbooks/roles/web/files/wp-config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/ansible-playbooks/roles/web/files/wp-config.php -------------------------------------------------------------------------------- /ansible-playbooks/roles/web/tasks/configure-nginx.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/ansible-playbooks/roles/web/tasks/configure-nginx.yaml -------------------------------------------------------------------------------- /ansible-playbooks/roles/web/tasks/configure-wordpress.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/ansible-playbooks/roles/web/tasks/configure-wordpress.yaml -------------------------------------------------------------------------------- /ansible-playbooks/roles/web/tasks/main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/ansible-playbooks/roles/web/tasks/main.yaml -------------------------------------------------------------------------------- /ansible-playbooks/site.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/ansible-playbooks/site.yaml -------------------------------------------------------------------------------- /cis.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/cis.tf -------------------------------------------------------------------------------- /cloud-init-dbtier.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/cloud-init-dbtier.tf -------------------------------------------------------------------------------- /cloud-init-webapptier.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/cloud-init-webapptier.tf -------------------------------------------------------------------------------- /compute.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/compute.tf -------------------------------------------------------------------------------- /docs/ansible.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/docs/ansible.md -------------------------------------------------------------------------------- /docs/images/application-data-flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/docs/images/application-data-flow.png -------------------------------------------------------------------------------- /docs/images/browser-language.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/docs/images/browser-language.png -------------------------------------------------------------------------------- /docs/images/customize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/docs/images/customize.png -------------------------------------------------------------------------------- /docs/images/infrastructure-architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/docs/images/infrastructure-architecture.png -------------------------------------------------------------------------------- /docs/images/install-wordpress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/docs/images/install-wordpress.png -------------------------------------------------------------------------------- /docs/images/log-in.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/docs/images/log-in.png -------------------------------------------------------------------------------- /docs/terraform.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/docs/terraform.md -------------------------------------------------------------------------------- /docs/vpn.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/docs/vpn.md -------------------------------------------------------------------------------- /lbaas.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/lbaas.tf -------------------------------------------------------------------------------- /main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/main.tf -------------------------------------------------------------------------------- /network-acls.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/network-acls.tf -------------------------------------------------------------------------------- /outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/outputs.tf -------------------------------------------------------------------------------- /provider.tf: -------------------------------------------------------------------------------- 1 | # variables supplied from terraform.tfvars 2 | 3 | provider "ibm" {} 4 | -------------------------------------------------------------------------------- /securitygroups.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/securitygroups.tf -------------------------------------------------------------------------------- /variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/variables.tf -------------------------------------------------------------------------------- /vpn.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonghall/ibmcloud-terraform-vpc/HEAD/vpn.tf --------------------------------------------------------------------------------