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").

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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ