Skip to content

Can I create extra private subnets without tagging them? #1193

@Israphel

Description

@Israphel

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.

We use EKS, and there's a feature to use a secondary CIDR block only for the pods. In order to do that, you create a secondary CIDR block and extra private subnets associated to that. All of that is supported by this module.
However, for EKS users it's typical to have private subnet tags related to AWS load balancer and/or Karpenter. But, the subnets which are specific for the pods can't be tagged with those values, or they will be autodiscovered and used for something they shouldn't.

Describe the solution you'd like.

Someway to create "extra" private subnets but without being affected by the private subnet tags.

Describe alternatives you've considered.

I made a small module that creates subnets and route table associations, so I'm managing my vpc with this module plus that one.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions