github.com/emicklei/gmig@v1.18.3-0.20240405210147-57c940a1c6cf/examples/020_create_cloud_sql_database.yaml (about)

     1  # Create Cloud SQL Database
     2  
     3  do:
     4  # Standard tiers are not working for some reason using the CLI. It works using the UI
     5  # Note regarding the name. If already used, then cannot be used again for some time: https://github.com/hashicorp/terraform/issues/4557
     6  - gcloud beta sql instances create my-db --database-version=POSTGRES_9_6 --region=europe-west1 --gce-zone=europe-west1-b --availability-type=REGIONAL --cpu=1 --memory=4GB
     7  
     8  undo:
     9  - gcloud beta sql instances delete my-db