wp-infrastructure

artibyrd/wp-infrastructure/gcp

Terraform Module HCL GCP

This Repository Contains Terraform Code to Deploy WordPress on GCP Infrastructure

Install
module "wp-infrastructure" {
source = "artibyrd/wp-infrastructure/gcp"
version = "1.2.0"
}
plain text: /constructs/tfmod-artibyrd-wp-infrastructure-gcp/install.txt
⭐ Source on GitHub 📦 Registry page
README

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

Inputs (3)
NameTypeDescriptionDefault
project_idstring"---YOUR_PROJECT_ID---"
region1stringRegion1 Name"us-west1"
region2stringRegion2 Name"us-central1"
Outputs (5)
wp_service_url
db_host
database_name
db_user_name
db_user_passwd
Resources (12)
google_compute_firewallgoogle_compute_networkgoogle_compute_network_peeringgoogle_compute_subnetworkgoogle_container_clustergoogle_container_node_poolgoogle_sql_databasegoogle_sql_database_instancegoogle_sql_userkubernetes_deploymentkubernetes_servicenull_resource
Details
FrameworkTerraform Module
LanguageHCL
Version1.2.0
Cloud GCP
★ Stars1
Forks3
Total downloads5.1k
Inputs3
Outputs5
Resources12
Namespaceartibyrd
Updated