three-tier-app

GoogleCloudPlatform/three-tier-app/google

Terraform Module HCL GOOGLE

Deploys a three tier web application using Cloud Run and Cloud SQL

Install
module "three-tier-app" {
source = "GoogleCloudPlatform/three-tier-app/google"
version = "0.1.9"
}
⭐ Source on GitHub 📦 Registry page
README

Three-tier web app Tagline Create a web app using a three-tiered architecture Detailed This solution quickly and securely creates a web app using a three-tiered architecture with a front end, middleware, and back end (PostgreSQL database). You can choose whether to deploy your solution through the console directly or download as Terraform on GitHub to deploy later. Architecture 1. User requests are sent to the front end, which is deployed on two Cloud Run services as containers to support high scalability applications. 1. The request then lands on the middle tier, which is the API layer that provides access to the backend. This is also deployed on Cloud Run for scalability and ease of deployment in multiple languages. This middleware is a Golang based API. 1. The frequent requests are cach

Inputs (7)
NameTypeDescriptionDefault
zonestringThe Compute Zone to deploy to required
project_idstringThe project ID to deploy to required
regionstringThe Compute Region to deploy to required
deployment_namestringThe name of this particular deployment, will get added as a prefix to most resou"three-tier-app"
labelsmap(string)A map of labels to apply to contained resources.{ "three-tier-app": true }
enable_apisstringWhether or not to enable underlying apis in this solution. .true
run_roles_listlist(string)The list of roles that run needs[ "roles/cloudsql.instanceUser", "ro
Outputs (3)
endpoint — The url of the front end which we want to surface to the user
sqlservername — The name of the database that we randomly generated.
neos_toc_url — The URL to launch the in-console tutorial for the Three Tier App solution
Resources (13)
google_cloud_run_servicegoogle_cloud_run_service_iam_membergoogle_compute_global_addressgoogle_compute_networkgoogle_project_iam_membergoogle_redis_instancegoogle_service_accountgoogle_service_networking_connectiongoogle_sql_databasegoogle_sql_database_instancegoogle_sql_usergoogle_vpc_access_connectorrandom_id
Details
FrameworkTerraform Module
LanguageHCL
Version0.1.9
Cloud GOOGLE
★ Stars145
Forks138
Total downloads3.2k
Inputs7
Outputs3
Resources13
Examples1
LicenseApache-2.0
NamespaceGoogleCloudPlatform
Updated