wp-infrastructure

jhagdu/wp-infrastructure/gcp

Terraform Module HCL GCP

This Repository Contains Terraform Code to Deploy WordPress on GCP Infrastructure

Install
module "wp-infrastructure" {
source = "jhagdu/wp-infrastructure/gcp"
version = "1.0.0"
}
plain text: /constructs/tfmod-jhagdu-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 Usage First Download or Clone this repo to your local system After this, To Initiate Terraform WorkSpace :- terraform init To create infrastructure, run command :- terraform apply -auto-approve To delete infrastructure, run command :- terraform destroy -auto-approve Prerequisites 1) Terraform should be Installed 2) gcloud SDK should be Installed 3) Replace the gcpCreds.json file with Yours Service Account Key file 4) In variables.tf Replace the Project ID with Yours

Inputs (7)
NameTypeDescriptionDefault
region2stringRegion2 Name"asia-south1"
root_passstringRoot Password For SQL Database"toor"
databasestringSQL Database Name"wpdb"
db_userstringSQL Database User Name"wpuser"
db_user_passstringPassowrd for SQL Database User"wppass"
project_idstring"---Your Project ID here---"
region1stringRegion1 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.0.0
Cloud GCP
Total downloads5.2k
Inputs7
Outputs5
Resources12
Namespacejhagdu
Updated