Skip to content

v0.40.1

Compare
Choose a tag to compare
@cloudpossebot cloudpossebot released this 27 Apr 20:48
03b3277

πŸš€ 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.