Skip to content

Conversation

@guessi
Copy link
Contributor

@guessi guessi commented Jan 14, 2025

What have been improved

  • Update support for Amazon EKS 1.31
  • Update support for kubectl layer
  • Keep cdk.json aligned with what cdk init app --language java would generated (with latest cdk command)

References

Additional notes

Required aws-cdk v2.162.0+ to support Amazon EKS 1.31+


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

@kaiz-io kaiz-io left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@kaiz-io
Copy link
Contributor

kaiz-io commented Jan 15, 2025

We are getting the following error trying to build the project.

/home/runner/work/aws-cdk-examples/aws-cdk-examples/java/eks/fargate-cluster/src/main/java/com/amazonaws/cdk/EksFargateStack.java:[5,58] package software.amazon.awscdk.cdk.lambdalayer.kubectl.v31 does not exist
Error: /home/runner/work/aws-cdk-examples/aws-cdk-examples/java/eks/fargate-cluster/src/main/java/com/amazonaws/cdk/EksFargateStack.java:[48,35] cannot find symbol

@guessi
Copy link
Contributor Author

guessi commented Jan 17, 2025

Forgot to add dependency. Let's check again.

@guessi
Copy link
Contributor Author

guessi commented Jan 23, 2025

@kaiz-io any chance to review again? thanks!

@kaiz-io
Copy link
Contributor

kaiz-io commented Jan 23, 2025

Got an error with test.

   ==============================
  building project: java/eks/fargate-cluster
  ==============================
  Error:  Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.540 s <<< FAILURE! -- in com.amazonaws.cdk.EksFargateStackTest
  Error:  com.amazonaws.cdk.EksFargateStackTest.testEksCluster -- Time elapsed: 0.006 s <<< ERROR!
  java.lang.RuntimeException: 
  Error: Expected 1 resources of type Custom::AWSCDK-EKS-Cluster but found 0
  @jsii/kernel.RuntimeError: Error: Expected 1 resources of type Custom::AWSCDK-EKS-Cluster but found 0

@kaiz-io kaiz-io added the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Jan 23, 2025
@guessi
Copy link
Contributor Author

guessi commented Jan 25, 2025

@kaiz-io Just fixed missing update version string, please check again. Hopefully it's the last commit for the PR.

@github-actions github-actions bot removed the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Jan 25, 2025
Copy link
Contributor

@kaiz-io kaiz-io left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@kaiz-io kaiz-io merged commit c37e3ad into aws-samples:main Jan 27, 2025
6 checks passed
@guessi guessi deleted the refresh-java-eks branch January 27, 2025 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants