-
Notifications
You must be signed in to change notification settings - Fork 9
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
just setup fails as Firestore database already exists #146
Comments
It lives in We used to use Pulumi and tried Terraform to have "versioned infrastructure as code" but due to the fact that both of those are dependent on the upstream Google team adding their resources as modules to those libraries / ecosystems, we always found we had to do really really hacky things to get them to work. Instead we switched to the Justfile setup we have now so that we can literally ship all of the files we need to with the Can I ask how you discovered this issue? Were you trying to setup an entirely new CDP instance? Or were you re-running commands for an old instance you wanted to clean or something? |
Thanks for the pointer to the
Entirely new CDP instance. However, this was my second attempt to set one up. The earlier version had a different GCP project name (due to the unique suffix) and I didn't make it through installation of the CDP backend, so nothing had been setup on Firebase to my knowledge. FWIW, I previously setup a completely separate Firebase project (no relation to CDP) on the same account, so that's one potentially unique aspect of my configuration. |
Having multiple firebase setups in the same account is totally fine. We use a single GCP account for all of the instances that we maintain. I think this is the second attempt to set on up issue. If you go to the firebase console is everything actually setup already even though the command failed? If that is the case, there might be a potential solution to this but sort of annoying one.
That might work but honestly there is just a whole host of issues that can happen in deployment sadly :( |
I don't think we have enough to go on here, but it may be helpful to have it documented in the future. Closing for now. |
Describe the Bug
During initial setup of an instance, running
just setup [infrastructure_slug] [gcp_region]
resulted in a fatal error indicating the Firestore database already existed.Commenting out that line, and the preceding lines that had been executed once already, enabled the setup script to continue without error. I'm not sure where that
Justfile
is in this project, perhaps it's pulled in from elsewhere? But it's in the generated instance directory underSETUP/Justfile
line 76.Expected Behavior
The best I can figure, maybe there was a change in the preceding command which creates that resource?
This one didn't make sense to me.
Reproduction
Following the standard installation procedure.
Environment
Any additional information about your environment.
The text was updated successfully, but these errors were encountered: