terraform-dynamic-python-webapp

Description

Tagline

This is an auto-generated module.

Detailed

The resources/services/activations/deletions that this module will create/trigger are:

  • Cloud Run
  • Cloud SQL
  • Firebase Hosting
  • Secret Manager
  • IAM
  • Cloud Storage

PreDeploy

To deploy this blueprint you must have an active billing account and billing permissions.

Documentation

Usage

Basic usage of this module is as follows:


module "dynamic-python-webapp" {
  source = "."
  project_id = var.project_id
}

Functional examples are included in the examples directory.

Inputs

No input.

Outputs

Name Description
firebase_url Firebase URL

Requirements

These sections describe requirements for using this module.

Software

The following dependencies must be available:

Service Account

A service account with the following roles must be used to provision the resources of this module:

  • roles/cloudbuild.builds.editor
  • roles/cloudsql.admin
  • roles/compute.admin
  • roles/compute.networkAdmin
  • roles/firebase.managementServiceAgent
  • roles/firebasehosting.admin
  • roles/iam.serviceAccountAdmin
  • roles/iam.serviceAccountUser
  • roles/pubsub.editor
  • roles/resourcemanager.projectIamAdmin
  • roles/run.admin
  • roles/secretmanager.admin
  • roles/storage.admin

The Project Factory module and the IAM module may be used in combination to provision a service account with the necessary roles applied.

APIs

A project with the following APIs enabled must be used to host the resources of this module:

  • run.googleapis.com
  • iam.googleapis.com
  • artifactregistry.googleapis.com
  • compute.googleapis.com
  • sql-component.googleapis.com
  • cloudbuild.googleapis.com
  • secretmanager.googleapis.com
  • firebase.googleapis.com
  • config.googleapis.com
  • cloudresourcemanager.googleapis.com
  • sqladmin.googleapis.com

The Project Factory module can be used to provision a project with the necessary APIs enabled.

Contributing

Refer to the contribution guidelines for information on contributing to this module.

Security Disclosures

Please see our security disclosure process.