Skip to content

Latest commit

 

History

History

django_cloud_run

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Table of Contents

Requirements

Name Version
terraform >= 1.0.10
google ~> 4.1.0

Providers

Name Version
google ~> 4.1.0

Modules

No modules.

Resources

Name Type
google_project_iam_binding.cloudsql_admin resource
google_project_iam_binding.cloudsql_client resource
google_project_iam_binding.run_admin resource
google_project_iam_binding.run_invoker resource
google_project_iam_binding.secret_manager_secret_accessor resource
google_project_service.gcp_services resource
google_secret_manager_secret.django_settings resource
google_secret_manager_secret_version.django_settings_version resource
google_service_account.cloud_run_service_account resource
google_service_account_iam_binding.admin-account-iam resource
google_sql_database.database resource
google_sql_database_instance.database resource
google_sql_user.sql_user resource
google_storage_bucket_iam_binding.storage_object_admin resource
google_project.project data source

Inputs

Name Description Type Default Required
cloud_run_service_account_name Name of the service account created for Cloud RUn app string n/a yes
django_secret_key Django app secret key string n/a yes
django_settings_name Django settings name string "django_settings" no
gcp_service_list The list of apis necessary for the project list(string)
[
"secretmanager.googleapis.com",
"cloudbuild.googleapis.com",
"run.googleapis.com",
"sqladmin.googleapis.com"
]
no
gcs_bucket_name Name of existing Google Cloud Storage bucket string n/a yes
project_id Project id where app will be deployed string n/a yes
region Region of the components string "us-central1" no
sql_database_instance_name SQL database instance name string "database-instance" no
sql_database_name SQL database name string "database" no
sql_password SQL database password string n/a yes
sql_user SQL database username string n/a yes
zone Zone of the components string "us-central1-a" no

Outputs

Name Description
google_sql_database_instance_name n/a
google_sql_database_name n/a