-
Notifications
You must be signed in to change notification settings - Fork 950
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make firebase init
for FDC work better with Spark projects.
#7666
Conversation
const prefix = "dataconnect"; | ||
// These are the APIs that can be enabled without a billing account. | ||
await ensure(projectId, api.dataconnectOrigin(), prefix); | ||
await ensure(projectId, api.cloudSQLAdminOrigin(), prefix); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huh, TIL that this API doesn't require billing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I was a little surprised by that haha
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
const prefix = "dataconnect"; | ||
// These are the APIs that can be enabled without a billing account. | ||
await ensure(projectId, api.dataconnectOrigin(), prefix); | ||
await ensure(projectId, api.cloudSQLAdminOrigin(), prefix); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Description
For projects without billing enabled, do not enable the compute.googleapis.com API nor provision a CloudSQL instance during
firebase init
.Scenarios Tested
firebase init
with Spark projectfirebase init
with Blaze projectSample Commands
firebase init
with Spark project