google_tpu_v2_vmNivis Nix constructor for the google_tpu_v2_vm 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,
runtime_version,
accelerator_type ? null,
cidr_block ? null,
deletion_policy ? null,
description ? null,
id ? null,
labels ? null,
metadata ? null,
cfg_name ? null,
project ? null,
tags ? null,
zone ? null,
accelerator_config ? null,
data_disks ? null,
network_config ? null,
network_configs ? null,
scheduling_config ? null,
service_account ? null,
shielded_instance_config ? null,
timeouts ? null,
overrides ? {}
}Required arguments
runtime_version
Optional arguments
accelerator_type(defaults tonull)cidr_block(defaults tonull)deletion_policy(defaults tonull)description(defaults tonull)id(defaults tonull)labels(defaults tonull)metadata(defaults tonull)cfg_name(defaults tonull)project(defaults tonull)tags(defaults tonull)zone(defaults tonull)accelerator_config(defaults tonull)data_disks(defaults tonull)network_config(defaults tonull)network_configs(defaults tonull)scheduling_config(defaults tonull)service_account(defaults tonull)shielded_instance_config(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
api_versioneffective_labelshealthhealth_descriptionmultislice_nodenetwork_endpointsqueued_resourcestatesymptomsterraform_labels
Example
google_tpu_v2_vm {
name = "tpu_v2_vm";
runtime_version = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.