terraform-aws-fck-nat
terraform-aws-fck-nat copied to clipboard
update_route_tables and route_tables_ids error with Unexpected Attribute
When trying to use fck-nat as a module in terraform, documentation says that update_route_table and route_table_id is deprecated. However, the recommended variables update_route_tables and route_tables_ids errors out as Unexpected Attribute.
module "fck-nat" {
source = "RaJiska/fck-nat/aws"
name = "fck-nat-${var.availability_zones[count.index]}"
vpc_id = aws_vpc.main.id
subnet_id = aws_subnet.public[count.index].id
use_spot_instances = true
instance_type = "t4g.nano"
update_route_tables = true
route_tables_ids = {
"private" = aws_route_table.private[count.index].id
}
}