Skip to content

Create CI var when provisioning Cloud SQL

Sri Rang requested to merge cloudseed-cloudsql-vars into master

What does this MR do and why?

When provisioning a Cloud SQL instance, we capture the GCP Project ID and environment (ref) values.

Yet, product code used to check for pre-existing GCP Project ID project vars and throw errors if it didn't exist.

This MR implements a saner workflow, where the GCP Project ID var is created / replaced when provisioning the Cloud SQL instance, rather than showing the user a needless error.

Screenshots or screen recordings

image

How to set up and validate locally

  1. Set up GDK for Google Omniauth
  2. Enable incubation_5mp_google_cloud feature flag
  3. Navigate to Project :: Infra :: Google Cloud :: Databases and try it out

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports