google_compute_machine_imageNivis Nix constructor for the google_compute_machine_image resource (provider google-beta). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
source_instance,
deletion_policy ? null,
description ? null,
guest_flush ? null,
id ? null,
cfg_name ? null,
project ? null,
machine_image_encryption_key ? null,
params ? null,
timeouts ? null,
overrides ? {}
}Required arguments
source_instance
Optional arguments
deletion_policy(defaults tonull)description(defaults tonull)guest_flush(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)project(defaults tonull)machine_image_encryption_key(defaults tonull)params(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
self_linkstorage_locations
Example
google_compute_machine_image {
name = "compute_machine_image";
source_instance = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.