File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
perfkitbenchmarker/providers/gcp Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -212,8 +212,7 @@ class GCPRelationalDb(relational_db.BaseRelationalDb):
212212
213213 This class contains logic required to provision and teardown the database.
214214 Currently, the database will be open to the world (0.0.0.0/0) which is not
215- ideal; however, a password is still required to connect. Currently only
216- MySQL 5.7 and Postgres 9.6 are supported.
215+ ideal; however, a password is still required to connect.
217216 """
218217
219218 CLOUD = provider_info .GCP
@@ -298,12 +297,11 @@ def _CreateGcloudSqlInstance(self):
298297 cmd_string .append ('--no-backup' )
299298 cmd = util .GcloudCommand (* cmd_string )
300299 cmd .flags ['project' ] = self .project
300+ # Needed for labels and allocated-ip-range-name
301301 cmd .use_beta_gcloud = True
302302
303303 if self .spec .db_tier :
304304 cmd .flags ['edition' ] = self .spec .db_tier
305- cmd .use_alpha_gcloud = True
306- cmd .use_beta_gcloud = False
307305 if relational_db .ENABLE_DATA_CACHE .value :
308306 cmd .flags ['enable-data-cache' ] = True
309307 else :
You can’t perform that action at this time.
0 commit comments