Skip to content

Add private_subnet_route_table_routes Option #1265

@cxmiller-strib

Description

@cxmiller-strib

Is your request related to a new offering from AWS?

Is this functionality available in the AWS provider for Terraform? See CHANGELOG.md, too.

  • Yes ✅: please list the AWS provider version which introduced this functionality

Is your request related to a problem? Please describe.

I'm trying to add some custom routes to the private subnets created through the module. I could be misunderstanding how the module/resources are working and or the current standard pattern.

I'd like to be able to manage custom route table routes for my private subnets through the module. Currently, from looking at the variables/tf files, I'm only able to add custom routes to the default_route_table which is never attached to my private subnets (again unless I'm missing a setting or option here).

Describe the solution you'd like.

Create a dynamic route option for the private subnets and or intra/database subnets to extend the route customization options.

resource "aws_default_route_table" "default" {

Describe alternatives you've considered.

I could create another module/resource in my Terragrunt repository to create the route table routes separately but I'm not sure why the feature is missing from the module, where the custom route option feels useful to have available at the source so to speak.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions