aws_network_interface_attachment

Nivis 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_index
  • instance_id
  • network_interface_id
Optional arguments
  • id (defaults to null)
  • network_card_index (defaults to null)
  • region (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • attachment_id
  • status
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.