-
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]: Allow creating masters role in stacks other than the cluster stack #13529
Comments
@fspaniol Thanks for reporting this. Actually what you're seeing is not a circular dependency problem, but rather a validation (limitation) we put in place to prevent possible circular dependencies. The main issue is that once the Having said that, we acknowledge that this might be too restrictive, and in your use-case, it actually prevents a would be successful deployment. (More details here) I'll mark this as a feature request to be more targeted with this limitation. |
Hi, thanks a lot for the explanation @iliapolo, so, currently the only solution would be to have both the Role and the Cluster be defined in the same stack? |
Thats right. |
This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
I am also facing a similar error when I have EksCluster created in a separate stack and make Nodegroup in a different stack for that cluster. |
I am facing this issue, having one stack that creates the cluster, and another, dependent stack, create the node groups. Is there any traction here? |
I'm trying to create a role in a different stack and add it to the cluster using awsAuth methods. However, I get an error message stating the following:
I tried to work around it by using
eks.Cluster.fromClusterAttributes
but it returns aniCluster
instead of aCluster
which does not contain awsAuth.Reproduction Steps
What did you expect to happen?
I expected to be able to configure the awsAuth in a different stack than the one where the cluster was created
What actually happened?
I got a circular dependency error
Environment
Other
This related to #8884
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: