Closed linzwatt closed 4 years ago
Also, with this launch config, the instance launched with a pd-standard
disk instead of a pd-ssd
, even though I specified a pd-ssd
Nevermind, the diskSizeGb
and diskType
params are meant to go inside the initialiseParams
object..
Sorry if I wasted anyone's time :smile: it is hard to see the proper structure in the docs because it is one giant text blob... would be good if there was some better formatting on this docs page: http://googleapis.github.io/google-api-python-client/docs/dyn/compute_v1.instances.html#insert
When I try to launch a GCP compute instance using this python client api, the
diskSizeGb
param seems to be ignored, and the instance launches with a disk that is the same size as the image.Environment details
google-api-python-client
version: 1.7.11Steps to reproduce
Launch config
diskSizeGb
param of a different size, say 200GBcompute.instances().insert(project=project, zone=zone, body=config)
function with this launch config.Thanks!