Sha256: d54807e84bb4fa95368c7326d0296f1fd50ee70387247a1578f51ee0040f8744
Contents?: true
Size: 554 Bytes
Versions: 21
Compression:
Stored size: 554 Bytes
Contents
module Souls module Gcloud module Sql class << self def create_instance(instance_name: "", root_pass: "Postgre123!", zone: "asia-northeast1-b") instance_name = "#{Souls.configuration.app}-db" if instance_name.blank? puts( "gcloud sql instances create #{instance_name} \ --database-version=POSTGRES_13 --cpu=2 --memory=7680MB --zone=#{zone} \ --root-password='#{root_pass}' --database-flags cloudsql.iam_authentication=on" ) end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems