-
Notifications
You must be signed in to change notification settings - Fork 4.5k
EKS: No AMI for Kubernetes 1.13 or Unable to determine AMI from AMI map since stack is region-agnostic #3120
Description
Note: for support questions, please first reference our documentation, then use Stackoverflow. This repository's issues are intended for feature requests and bug reports.
-
I'm submitting a ...
- 🪲 bug report
- 🚀 feature request
- 📚 construct library gap
- ☎️ security issue or vulnerability => Please see policy
- ❓ support request => Please see note at the top of this template.
-
What is the current behavior?
If the current behavior is a 🪲bug🪲: Please provide the steps to reproduce
vpc = aws_ec2.Vpc(scope=self, id='VpcCustomEnv', cidr='192.168.0.0/16')
eks_cluster = aws_eks.Cluster(scope=self, id='EksCluster', vpc=vpc)
eks_cluster.add_capacity(id='capacity', instance_type='t2.large'desired_capacity=1)
exits with jsii.errors.JSIIError: Unable to determine AMI from AMI map since stack is region-agnostic
if you add a version to EKS, say
eks_cluster = aws_eks.Cluster(scope=self, id='EksCluster', vpc=vpc, version='1.13')
exits with jsii.errors.JSIIError: We don't have an AMI for kubernetes version 1.12
-
What is the expected behavior (or behavior of feature suggested)?
Program compiles and outputs a valid template -
What is the motivation / use case for changing the behavior or adding this feature?
Whole EKS service is completely disabled in 0.36 -
Please tell us about your environment:
- CDK CLI Version: 0.36.0 (build 6d38487)
- Module Version: 0.36.0
- OS: [Ubuntu 19.4 ]
- Language: [ Python ]
-
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. associated pull-request, stackoverflow, gitter, etc)