-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix firestore database autoname (#2184)
fixes #2183 Firestore database needs an all lowercase name since the API errors otherwise. We should likely do this for all GCP resources as it looks like quite a few of them have this: #2164
- Loading branch information
1 parent
d6e1e12
commit 53168e9
Showing
3 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: firestore-db-autoname | ||
runtime: yaml | ||
config: | ||
gcpProj: string | ||
resources: | ||
myFirestoreDatabase: | ||
type: gcp:firestore:Database | ||
properties: | ||
type: "FIRESTORE_NATIVE" | ||
project: ${gcpProj} | ||
locationId: "us-central1" | ||
deletionPolicy: DELETE |