google_compute_attached_disk

Nivis Nix constructor for the google_compute_attached_disk 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,
  disk,
  instance,
  deletion_policy ? null,
  device_name ? null,
  id ? null,
  interface ? null,
  mode ? null,
  project ? null,
  zone ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • disk
  • instance
Optional arguments
  • deletion_policy (defaults to null)
  • device_name (defaults to null)
  • id (defaults to null)
  • interface (defaults to null)
  • mode (defaults to null)
  • project (defaults to null)
  • zone (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
google_compute_attached_disk {
  name = "compute_attached_disk";
  disk = …;  # required
  instance = …;  # required
}

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