Bring your own project
navigator ops gcp setup provisions into a project; it does not create one. Start by creating a project and attaching
a billing account, then authenticate so the CLI can act as you:
gcloud projects create your-project-id --name "Neon Law Navigator"
gcloud billing projects link your-project-id --billing-account "$BILLING_ACCOUNT_ID"
gcloud auth login --force --update-adc
gcloud auth print-access-token >/dev/null
gcloud auth application-default print-access-token >/dev/null
For the Navigator matrix, prove billing is enabled on the hub and all three runtime projects before provisioning:
for project in \
ghcr neon-law-stg neon-law-prod neon-law
do
gcloud billing projects describe "$project" \
--format='value(projectId,billingEnabled)'
done
All five lines must end in True. If one is False, attach it before running setup:
gcloud billing projects link neon-law-prod \
--billing-account "$BILLING_ACCOUNT_ID"