Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/garysassano/cdktf-gcp-firestore-databases
CDKTF app that deploys two Firestore databases in the same GCP project
https://github.com/garysassano/cdktf-gcp-firestore-databases
cdktf cdktf-ts firestore firestore-database firestore-document gcp google-cloud google-cloud-platform multidb terraform-cdk typescript
Last synced: about 2 months ago
JSON representation
CDKTF app that deploys two Firestore databases in the same GCP project
- Host: GitHub
- URL: https://github.com/garysassano/cdktf-gcp-firestore-databases
- Owner: garysassano
- License: apache-2.0
- Created: 2023-05-13T02:49:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-22T21:36:10.000Z (9 months ago)
- Last Synced: 2024-04-22T22:23:39.452Z (9 months ago)
- Topics: cdktf, cdktf-ts, firestore, firestore-database, firestore-document, gcp, google-cloud, google-cloud-platform, multidb, terraform-cdk, typescript
- Language: TypeScript
- Homepage:
- Size: 122 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://cloud.google.com/blog/products/databases/manage-multiple-firestore-databases-in-a-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](https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/provider_reference#running-terraform-on-your-workstation) in your local environment.
- Must have set the `GCP_PROJECT_ID` and `GCP_REGION` variables in your local environment.
- **_Node.js + npm:_**
- Must be [installed](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) in your system.## Installation
```sh
npx projen install
```## Deployment
```sh
npx projen deploy
```## Cleanup
```sh
npx projen destroy
```## Architecture Diagram
![Architecture Diagram](./src/assets/arch.svg)