About this question
I need help understanding the difference between aws_route and aws_route_table.
When I use the following code and create a route and route table with the public_1 resource, I associate the public_1 route table subnet, test_pub.
I need help understanding the function of the block route public_1. Here is the code to explain the issue:
I have another question as well. I am trying to understand if the two examples are the same. The difference is that the first example has a route block equivalent to the resource aws_route of the second example. But the required variables are the same; only the name is different.