how to enable route propagation in the routing tables

1

I hope all is well. I am working on a project to move our infrastructure to terraform and have the Infrastructure as Code. Route propagation is not working in our test account however I copied everything that we have in our main account. I know there is no limitation for routings and it should be a technical config issue. 3 VPCs (Prod, Dev, Stage) are going to route traffic to the internet through 1 VPC (DMZ) and 1 IGW in the DMZ. In the main account the routing is working fine but in the test account the propagation does not change to enabled ("yes").

Arash
已提問 2 年前檢視次數 2776 次
1 個回答
0

Thank you for reaching out to AWS,

I understand you would like to enable route propagation to automatically propagate routes to the route tables within your VPC. This would remove the need to manually enter VPN routes to your route tables. You may enable Route Propagation via the Amazon VPC Console or through AWS CLI.

In the Amazon VPC Console:

  • Navigate to Route Tables
  • Select the Route Table, Choose Actions, and Edit Route Propagation
  • Enable the check Box for the Virtual Private Gateway and then Save

In AWS CLI:

  • Using this command will enable route propagation
  • aws ec2 enable-vgw-route-propagation —route-table-id ROUTE-TABLE-ID —gateway-id GATEWAY-ID

The provided link demonstrates these steps for each on how to enable Route Propagation. https://docs.aws.amazon.com/vpc/latest/userguide/WorkWithRouteTables.html#EnableDisableRouteProp

I hope this helps! Please let me know if I can be of further assistance.

Julio_A
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南