aws_volume_attachmentNivis Nix constructor for the aws_volume_attachment resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
device_name,
instance_id,
volume_id,
force_detach ? null,
id ? null,
region ? null,
skip_destroy ? null,
stop_instance_before_detaching ? null,
timeouts ? null,
overrides ? {}
}Required arguments
device_nameinstance_idvolume_id
Optional arguments
force_detach(defaults tonull)id(defaults tonull)region(defaults tonull)skip_destroy(defaults tonull)stop_instance_before_detaching(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
aws_volume_attachment {
name = "volume_attachment";
device_name = …; # required
instance_id = …; # required
volume_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.