We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0eb1cbe commit e0aedefCopy full SHA for e0aedef
perfkitbenchmarker/providers/gcp/gcp_alloy_db.py
@@ -136,6 +136,10 @@ def _Create(self) -> None:
136
'--cpu-count=%s' % self.spec.db_spec.cpus,
137
'--instance-type=PRIMARY',
138
]
139
+ if self.spec.high_availability:
140
+ cmd_string.append('--availability-type=REGIONAL')
141
+ else:
142
+ cmd_string.append('--availability-type=ZONAL')
143
144
cmd = self._GetAlloyDbCommand(cmd_string)
145
cmd.Issue(timeout=CREATION_TIMEOUT)
0 commit comments