🚀 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
.