google_compute_attached_diskNivis 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
diskinstance
Optional arguments
deletion_policy(defaults tonull)device_name(defaults tonull)id(defaults tonull)interface(defaults tonull)mode(defaults tonull)project(defaults tonull)zone(defaults tonull)timeouts(defaults tonull)
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.