github cloudposse/terraform-aws-dynamic-subnets 0.40.1
v0.40.1

latest releases: 2.4.2, v2, 2.4.1...
2 years ago

🚀 Enhancements

Fixed deprecated warning, using network_interface_id instead @ktasper (#156)

what

Using the current version you get a deprecated warning:

│ Warning: Argument is deprecated
│ 
│   with module.dynamic-subnets.aws_route.nat_instance,
│   on .terraform/modules/dynamic-subnets/nat-instance.tf line 130, in resource "aws_route" "nat_instance":
│  130:   instance_id            = element(aws_instance.nat_instance.*.id, count.index)
│ 
│ Use network_interface_id instead

I have updated the code to use the recommended network_interface_id, as a result I have also had to point it to primary_network_interface_id.

Don't miss a new terraform-aws-dynamic-subnets release

NewReleases is sending notifications on new releases.