google_compute_instance_from_templateNivis Nix constructor for the google_compute_instance_from_template resource (provider google). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
source_instance_template,
allow_stopping_for_update ? null,
can_ip_forward ? null,
deletion_policy ? null,
deletion_protection ? null,
description ? null,
desired_status ? null,
enable_display ? null,
hostname ? null,
id ? null,
key_revocation_action_type ? null,
labels ? null,
machine_type ? null,
metadata ? null,
metadata_startup_script ? null,
min_cpu_platform ? null,
cfg_name ? null,
project ? null,
resource_policies ? null,
tags ? null,
zone ? null,
advanced_machine_features ? null,
attached_disk ? null,
boot_disk ? null,
confidential_instance_config ? null,
guest_accelerator ? null,
instance_encryption_key ? null,
network_interface ? null,
network_performance_config ? null,
params ? null,
reservation_affinity ? null,
scheduling ? null,
scratch_disk ? null,
service_account ? null,
shielded_instance_config ? null,
timeouts ? null,
workload_identity_config ? null,
overrides ? {}
}Required arguments
source_instance_template
Optional arguments
allow_stopping_for_update(defaults tonull)can_ip_forward(defaults tonull)deletion_policy(defaults tonull)deletion_protection(defaults tonull)description(defaults tonull)desired_status(defaults tonull)enable_display(defaults tonull)hostname(defaults tonull)id(defaults tonull)key_revocation_action_type(defaults tonull)labels(defaults tonull)machine_type(defaults tonull)metadata(defaults tonull)metadata_startup_script(defaults tonull)min_cpu_platform(defaults tonull)cfg_name(defaults tonull)project(defaults tonull)resource_policies(defaults tonull)tags(defaults tonull)zone(defaults tonull)advanced_machine_features(defaults tonull)attached_disk(defaults tonull)boot_disk(defaults tonull)confidential_instance_config(defaults tonull)guest_accelerator(defaults tonull)instance_encryption_key(defaults tonull)network_interface(defaults tonull)network_performance_config(defaults tonull)params(defaults tonull)reservation_affinity(defaults tonull)scheduling(defaults tonull)scratch_disk(defaults tonull)service_account(defaults tonull)shielded_instance_config(defaults tonull)timeouts(defaults tonull)workload_identity_config(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
cpu_platformcreation_timestampcurrent_statuseffective_labelsinstance_idlabel_fingerprintmetadata_fingerprintself_linktags_fingerprintterraform_labels
Example
google_compute_instance_from_template {
name = "compute_instance_from_template";
source_instance_template = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.