google_tpu_v2_vm

Nivis 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 to null)
  • cidr_block (defaults to null)
  • deletion_policy (defaults to null)
  • description (defaults to null)
  • id (defaults to null)
  • labels (defaults to null)
  • metadata (defaults to null)
  • cfg_name (defaults to null)
  • project (defaults to null)
  • tags (defaults to null)
  • zone (defaults to null)
  • accelerator_config (defaults to null)
  • data_disks (defaults to null)
  • network_config (defaults to null)
  • network_configs (defaults to null)
  • scheduling_config (defaults to null)
  • service_account (defaults to null)
  • shielded_instance_config (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • api_version
  • effective_labels
  • health
  • health_description
  • multislice_node
  • network_endpoints
  • queued_resource
  • state
  • symptoms
  • terraform_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.