cloudposse / terraform-aws-dynamic-subnets

Terraform module for public and private subnets provisioning in existing VPC
https://cloudposse.com/accelerate
Apache License 2.0
197 stars 167 forks source link

aws 4.x: Use network_interface_id instead #149

Closed nitrocode closed 2 years ago

nitrocode commented 2 years ago

Found a bug? Maybe our Slack Community can help.

Slack Community

Describe the Bug

│ Warning: Argument is deprecated
│
│   with module.subnets.aws_route.nat_instance,
│   on .terraform/modules/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
Nuru commented 2 years ago

Fixed by #156