Skip to content

CDKTF app that deploys two Firestore databases in the same GCP project

License

Notifications You must be signed in to change notification settings

garysassano/cdktf-gcp-firestore-databases

Repository files navigation

cdktf-gcp-firestore-databases

CDKTF app that deploys two Firestore databases in the same GCP project.

This repository showcases a recently added new feature which allows to have multiple Firestore databases within the same GCP project (also of different types). Previously you were limited to a single Firestore database per project, always named (default).

Prerequisites

  • GCP:
    • Must have authenticated with Application Default Credentials in your local environment.
    • Must have set the GCP_PROJECT_ID and GCP_REGION variables in your local environment.
  • Terraform:
  • Node.js + npm:

Installation

npx projen install

Deployment

npx projen deploy

Cleanup

npx projen destroy

Architecture Diagram

Architecture Diagram