size property
Size of the persistent disk, specified in GB. You can specify this
field when creating a persistent disk using the image or
snapshot parameter, or specify it alone to create an empty
persistent disk.
If you specify this field along with image or snapshot,
the value must not be less than the size of the image
or the size of the snapshot.
~>NOTE If you change the size, the provider updates the disk size
if upsizing is detected but recreates the disk if downsizing is requested.
You can add lifecycle.prevent_destroy in the config to prevent destroying
and recreating.
Implementation
final pulumi.Input<int?>? size;