aws_network_interface_sg_attachmentNivis Nix constructor for the aws_network_interface_sg_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,
network_interface_id,
security_group_id,
id ? null,
region ? null,
timeouts ? null,
overrides ? {}
}Required arguments
network_interface_idsecurity_group_id
Optional arguments
id(defaults tonull)region(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
aws_network_interface_sg_attachment {
name = "network_interface_sg_attachment";
network_interface_id = …; # required
security_group_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.