aws_network_interface_attachmentNivis Nix constructor for the aws_network_interface_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_index,
instance_id,
network_interface_id,
id ? null,
network_card_index ? null,
region ? null,
overrides ? {}
}Required arguments
device_indexinstance_idnetwork_interface_id
Optional arguments
id(defaults tonull)network_card_index(defaults tonull)region(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
attachment_idstatus
Example
aws_network_interface_attachment {
name = "network_interface_attachment";
device_index = …; # required
instance_id = …; # required
network_interface_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.