-
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
Cyclic Reference when trying to make a CodeBuild project to EKS #6989
Comments
Hey @yjw113080 , the problem is you're relying on the name of the EKS cluster, passing it to the environment variables of your CodeBuild project. If you hardcode the name instead of using If that doesn't work, you have to show me your entire code, including the entrypoint (I have no idea what things like Thanks, |
Thank you for your comment @skinny85 What I did found was, as soon as I construct the buildspec from here, you could simply browse this repo
|
Maybe I wasn't clear. The problem is this: environmentVariables: {
'CLUSTER_NAME': {
value: `${cluster.clusterName}`
}, If you change |
It worked! thanks for your guide. |
I think I know this from the error message. Let me reformat it a little:
I assume the Does that make sense...? |
Ah I got this. Thanks for your explanation! |
I'm trying to make two separate stack,
When I tried to deploy the stacks, I get the following error.
I guess it's somewhat related to #5760 , #3300?
Reproduction Steps
I think it's quite ordinary stack for EKS, so I just add the link to the code, instead of pasting it over.
https://github.com/yjw113080/aws-cdk-eks-multi-region/blob/master/lib/cluster-stack.ts
Error Log
Environment
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: