google_compute_target_instance

Nivis Nix constructor for the google_compute_target_instance 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,
  instance,
  deletion_policy ? null,
  description ? null,
  id ? null,
  cfg_name ? null,
  nat_policy ? null,
  project ? null,
  zone ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • instance
Optional arguments
  • deletion_policy (defaults to null)
  • description (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • nat_policy (defaults to null)
  • project (defaults to null)
  • zone (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • creation_timestamp
  • self_link
Example
google_compute_target_instance {
  name = "compute_target_instance";
  instance = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.