-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[aws-eks] Construct Library custom resources can't be used within vpc #9509
Comments
Sorry maybe i was not precise. Not sure why topic was changed as it relates not only to eks but to all custom resources of AWS CDK. For example, I want to create eks cluster with kubectl_enabled=True, code:
AWS CDK is going to create custom resources(lambda functions) to interact with cluster but this lambda functions are not going to be inside vpc. And we can't use it. We need way to redefine this functions. The main problem that most of enterprise companies will face same problem eventually as most of them use lambda function only within vpc. also would be nice to be able to define proxy for lambda functions as aws doesn't have vpc endpoints for all api's |
I also created ticket to AWS Premiums Support (Case ID 7252363561). this issue blocks us to use AWS CDK for our huge infrastructure |
also by not allowing to set kubectl_enabled=False(we don't want rely on deprecated code you proposed), we lose ability even to test without all that nice features that construct provides |
Allow all our lambda handlers to be provisioned inside the cluster VPC. The `KubectlProvider` handlers were already placed inside the VPC is they could have, the missing was to include the `ClusterHandler`. This is now possible via the `placeClusterHandlerInVpc` (names are welcome) property. Default value remains `false` because if the VPC happens to be isolated (i.e no outbound internet access) this would break the deployment. (See #12171) Closes #9509 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
Allow all our lambda handlers to be provisioned inside the cluster VPC. The `KubectlProvider` handlers were already placed inside the VPC is they could have, the missing was to include the `ClusterHandler`. This is now possible via the `placeClusterHandlerInVpc` (names are welcome) property. Default value remains `false` because if the VPC happens to be isolated (i.e no outbound internet access) this would break the deployment. (See aws#12171) Closes aws#9509 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
When we use construct library, it creates lambda functions which are not inside vpc, i would like to have this ability to define it
Use Case
We have strict policy in our company to have all lambda functions attached to the vpc
Proposed Solution
Other
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: