Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. AWS
  3. Question
AWS

What is the AWS-terraform VPC difference between aws_route and aws_route_table?

Asked by Elayne Balding Sep 12, 2023 1.2K views 1 answer
Share

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. 

Your answer

1 Answer

More AWS discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest AWS Blogs

Guides, tips and career advice on AWS from JanBask experts.