wp-infrastructure
artibyrd/wp-infrastructure/gcp
This Repository Contains Terraform Code to Deploy WordPress on GCP Infrastructure
terraform-gcp-wp-infrastructure This Repository Contains Terraform Code to Deploy WordPress on GCP Infrastructure. _Updated for Terraform 0.12+_ _Now integrates Application Default Credentials and Google Secret Manager._ Prerequisites 1. Terraform should be installed and added to your PATH. 2. gcloud SDK should be installed and initialized. It is _strongly_ recommended that you create a new Google Cloud project for your Terraform deployment! 3. Make sure you (or your Service Account) have the following roles: Editor Kubernetes Engine Admin Secret Manager Admin 4. Run the command: ``gcloud auth application-default login` to authenticate using ADC. 5. Make sure the following APIs are enabled on your project: Google Compute Engine Google Kubernetes Engine Google Cloud SQL Google Secret Manage
| Name | Type | Description | Default |
|---|---|---|---|
| project_id | string | "---YOUR_PROJECT_ID---" | |
| region1 | string | Region1 Name | "us-west1" |
| region2 | string | Region2 Name | "us-central1" |
wp_service_urldb_hostdatabase_namedb_user_namedb_user_passwd