Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(core, maybe ec2?): More fine grained subnet selection #12019

Closed
1 of 2 tasks
markussiebert opened this issue Dec 11, 2020 · 2 comments
Closed
1 of 2 tasks

(core, maybe ec2?): More fine grained subnet selection #12019

markussiebert opened this issue Dec 11, 2020 · 2 comments
Labels
feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged.

Comments

@markussiebert
Copy link
Contributor

We need some more fine-grained way of subnet selection.

Right now, I'm struggling with the subnet selection cdk offers to me. In all of my use cases, I have no chance to create a vpc or subnets. I have to reuse those that are already created in my aws account.
All of them are private subnets, but not all are equal.

When starting with a fresh account there are only 3 subnets - one per az. When I'm running out of IP addresses, I get 3 more subnets. But not all resources like it, if I offer them 3 more subnets (eks cluster will be recreated if you change the subnet configuration).

Apart from that I have 3 more subnets, with non-routed IP addresses - so they are private, but not usable for all use cases.

At the moment, I using the subnet from attributes method, to "select" my subnets - but therefore i have to copy-paste all values from my account config to to my app (subnet cidr range, route-tableid, availability zone, ...).

Use Case

I want to be able to select subnets by it's name, or by it's tags so that I don't have to define all attributes, but can rely on the lookups.

Proposed Solution

No concrete idea at the moment, but I think there would be more to change than ec2.vpc or ec2.subnet...

Other

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

@markussiebert markussiebert added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Dec 11, 2020
@NetaNir
Copy link
Contributor

NetaNir commented Dec 11, 2020

We are tracking this in #5927

@NetaNir NetaNir closed this as completed Dec 11, 2020
@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

2 participants