-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
EKS: Access Denied when using a KubernetesManifest or HelmChart #26979
Comments
Some additional info here is that I am using |
I ended up just folding that stack into the main cluster stack and it worked fine. I'll chalk this up to imported values and nested stacks. |
|
Describe the bug
I've created a standard EKS cluster in CDK.
When I go to create either a
HelmChart
orKubernetesManifest
in another stack, I run into anAccess Denied
error.The manifest is one that I've been able to apply manually with
kubectl
without issue. Now that I'm applying it using CDK instead, I get this error. It looks like it's using nested stacks for that so I'm assuming there's some problem there.Expected Behavior
The KuberenetesManifest gets applied to the EKS cluster.
Current Behavior
An error is thrown and the stack fails to deploy.
Reproduction Steps
Create an EKS stack:
then try to apply any manifest:
Possible Solution
No response
Additional Information/Context
I just upgraded to the newest version of aws-cdk but this was also happening on
2.87.0 (build 9fca790)
.CDK CLI Version
2.93.0 (build 724bd01)
Framework Version
No response
Node.js Version
v18.16.1
OS
macOS Monterey 12.6
Language
Typescript
Language Version
5.0.4
Other information
No response
The text was updated successfully, but these errors were encountered: