# Feature request: modify aws\_network\_interface

**URL:** <https://discuss.hashicorp.com/t/feature-request-modify-aws-network-interface/65956>\
**Category:** AWS\
**Created:** [April 16, 2024, 6:45pm UTC](https://discuss.hashicorp.com/t/feature-request-modify-aws-network-interface/65956 "2024-04-16T18:45:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rtambellini](https://avatars.discourse-cdn.com/v4/letter/r/439d5e/32.png) [@rtambellini](https://discuss.hashicorp.com/u/rtambellini)\
**Post date:** [April 16, 2024, 6:45pm UTC](https://discuss.hashicorp.com/t/feature-request-modify-aws-network-interface/65956/1 "2024-04-16T18:45:52Z")

</div>

In the AWS Console (EC2 \> Network Interfaces \> eni-xxxxxx), in the _Actions_ menu, you find the _Manage IP address_ option, and you can _Assign new IP address_ for the interface, including the _Auto-assign_ possibility.

So my suggestion is to add an argument _network\_interface\_id_ to specify the network interface id that you want to modify, example:

> resource “aws\_network\_interface” “principal” {  
> network\_interface\_id = module.ec2\_create.primary\_network\_interface\_id  
> subnet\_id = module.ec2\_create.subnet\_id // May be required only if network\_interface\_id is not specified  
> private\_ips\_count = 2  
> }

So, you can have a secondary IP address added to this interface.

Thank you.

---

<div class="post-metadata">

**Author:** ![apparentlymart](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/apparentlymart/32/702_2.png) [@apparentlymart](https://discuss.hashicorp.com/u/apparentlymart)\
**Post date:** [April 16, 2024, 7:42pm UTC](https://discuss.hashicorp.com/t/feature-request-modify-aws-network-interface/65956/2 "2024-04-16T19:42:25Z")

</div>

Hi @rtambellini! Thanks for this feedback.

This forum is primarily for Q&A between members of the Terraform community and do the development teams don’t tend to look here for feature requests, so I suggest also opening a feature request issue in the AWS providers repository, so that the provider development team can consider it:

> **[GitHub - hashicorp/terraform-provider-aws: Terraform AWS provider](https://github.com/hashicorp/terraform-provider-aws)**
>
> Terraform AWS provider. Contribute to hashicorp/terraform-provider-aws development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/hashicorp/original/1X/79bf76adfd92a75631996933098f9ce29d37abf3.svg) [@system](https://discuss.hashicorp.com/u/system)\
**Post date:** [October 13, 2024, 7:42pm UTC](https://discuss.hashicorp.com/t/feature-request-modify-aws-network-interface/65956/3 "2024-10-13T19:42:44Z")

</div>

Closed on October 13, 2024, 7:42pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
