aws-quickstart / cdk-eks-blueprints

AWS Quick Start Team
Apache License 2.0
460 stars 207 forks source link

Update to latest AWS CDK version (2.151.0) #1058

Closed hshepherd closed 2 weeks ago

hshepherd commented 3 months ago

Describe the feature

Would it be possible to get a new release of blueprints that has peerDependencies on aws-cdk and aws-cdk-lib v2.151.0?

e.g.

NatGatewayProvider: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.NatGatewayProvider.html aws-cdk release: https://github.com/aws/aws-cdk/releases/tag/v2.151.0

Use Case

We have a requirement to be able to use the newly exported NatGatewayProvider in aws-cdk-lib version 2.151.0. Since we are using cdk-eks-blueprints in the same project -- and blueprints is locked to 2.147.3 -- we cannot yet use this class.

Proposed Solution

// package.json
"peerDependencies": {
    "aws-cdk-lib": "2.150.0",
    "aws-cdk": "2.150.0"
}

Other Information

No response

Acknowledgements

CDK version used

2.147.3

EKS Blueprints Version

1.15.1

Node.js Version

18.20.4

Environment details (OS name and version, etc.)

OSX 13.4

shapirov103 commented 3 months ago

You should be able to upgrade your project to the latest CDK by overriding the version of the CDK in your package.json and running with --force flag, similar to what we use in our patterns repo here.

We do have plans to release 1.16 once the ipv6 support PR is merged.

hshepherd commented 3 months ago

OK I will give this a try if this is a supported pattern Thanks for the response!

github-actions[bot] commented 2 weeks ago

This issue has been automatically marked as stale because it has been open 60 days with no activity. Remove stale label or comment or this issue will be closed in 10 days

shapirov103 commented 2 weeks ago

This was addressed in #1087.