cloudposse / terraform-aws-vpc

Terraform Module that defines a VPC with public/private subnets across multiple AZs with Internet Gateways
https://cloudposse.com/accelerate
Apache License 2.0
229 stars 195 forks source link

Manage default route table created by this module #109

Closed cdobbyn closed 2 years ago

cdobbyn commented 2 years ago

Describe the Feature

This module should manage the default route table that is created by the VPC.

Expected Behavior

After the VPC is created, another resource is added that takes ownership of the default route table. This can be accomplished via the aws_default_route_table resource (that is this resource's only role).

Use Case

Because this route table is not under management it does not contain any identifying tags to clearly identify it without looking at it's parent VPC.

Describe Ideal Solution

This resource is managed and is tagged so that it can visibly indicate it's use case without extra clicks.

Alternatives Considered

This is a fairly simple use case, the alternative is to click through the VPC link.

Additional Context

n/a

cdobbyn commented 2 years ago

I will fork and open a PR for this, the code is very simple.