terraform-aws-ec2-instance icon indicating copy to clipboard operation
terraform-aws-ec2-instance copied to clipboard

Warning: Argument is deprecated - `network_interface`

Open trever-atr opened this issue 1 month ago β€’ 0 comments

Description

Warning: Argument is deprecated β”‚ β”‚ with module.gw_host[0].aws_instance.ignore_ami[0], β”‚ on .terraform/modules/gw_host/main.tf line 237, in resource "aws_instance" "ignore_ami": β”‚ 237: resource "aws_instance" "ignore_ami" { β”‚ β”‚ network_interface is deprecated. To specify the primary network interface, β”‚ use primary_network_interface instead. To attach additional network β”‚ interfaces, use the aws_network_interface_attachment resource.

  • [x] βœ‹ I have searched the open/closed issues and my issue is not listed. --> ignored once already: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/454

Versions

  • /hashicorp/aws v6.22.1
  • /terraform-aws-ec2-instance v6.1.4

Expected behavior

support for latest AWS provider, no deprecation warnings

trever-atr avatar Nov 25 '25 14:11 trever-atr