Skip to content

Conversation

@vishal82004
Copy link

This pull request resolves a deprecation warning for the network_interface argument in the aws_instance resource, which was deprecated in version 6.10.0 of the AWS provider.

The following changes have been made:

  • The network_interface argument has been replaced with a combination of a dynamic network_interface block for the primary interface and the aws_network_interface_attachment resource for any secondary interfaces.
  • A new variable, create_network_interface_attachment, has been added to variables.tf to control the creation of the attachment resource.

This ensures compatibility with the latest AWS provider and removes the deprecation warnings.

@vishal82004 vishal82004 changed the title Fix deprecated network interface argument fix: Fix deprecated network interface argument Sep 15, 2025
@bryantbiggs
Copy link
Member

this is incorrect and also a breaking change. we'll take a look at any deprecated APIs at the next breaking change

@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants