From 3e8f515e5fe0b88e4f1b4d658ab5c34c7fd8506c Mon Sep 17 00:00:00 2001 From: shapirov Date: Fri, 22 Mar 2024 09:28:32 -0400 Subject: [PATCH] Version increment and doc updates --- README.md | 4 ++-- docs/README.md | 4 ++-- docs/getting-started.md | 10 +++++----- docs/internal/ci.md | 2 +- lib/pipelines/code-pipeline.ts | 2 +- package.json | 4 ++-- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 2fac3c82f..14ad83166 100644 --- a/README.md +++ b/README.md @@ -44,14 +44,14 @@ aws --version Install CDK matching the current version of the Blueprints QuickStart (which can be found in package.json). ```bash -npm install -g aws-cdk@2.132.0 +npm install -g aws-cdk@2.133.0 ``` Verify the installation. ```bash cdk --version -# must output 2.132.0 +# must output 2.133.0 ``` Create a new CDK project. We use `typescript` for this example. diff --git a/docs/README.md b/docs/README.md index b879bbda0..26973537c 100644 --- a/docs/README.md +++ b/docs/README.md @@ -44,14 +44,14 @@ aws --version Install CDK matching the current version of the Blueprints QuickStart (which can be found in package.json). ```bash -npm install -g aws-cdk@2.132.0 +npm install -g aws-cdk@2.133.0 ``` Verify the installation. ```bash cdk --version -# must output 2.132.0 +# must output 2.133.0 ``` Create a new CDK project. We use `typescript` for this example. diff --git a/docs/getting-started.md b/docs/getting-started.md index 6a4b6696a..9b783800b 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -26,8 +26,8 @@ Create a directory that represents you project (e.g. `my-blueprints`) and then c ```bash npm install -g n # may require sudo n stable # may require sudo -npm install -g aws-cdk@2.132.0 # may require sudo (Ubuntu) depending on configuration -cdk --version # must produce 2.132.0 +npm install -g aws-cdk@2.133.0 # may require sudo (Ubuntu) depending on configuration +cdk --version # must produce 2.133.0 mkdir my-blueprints cd my-blueprints cdk init app --language typescript @@ -53,11 +53,11 @@ npm ERR! node_modules/aws-cdk-lib npm ERR! aws-cdk-lib@"2.130.0" from the root project npm ERR! npm ERR! Could not resolve dependency: -npm ERR! peer bundled aws-cdk-lib@"2.132.0" from @aws-quickstart/eks-blueprints@1.14.0 +npm ERR! peer bundled aws-cdk-lib@"2.133.0" from @aws-quickstart/eks-blueprints@1.14.0 npm ERR! node_modules/@aws-quickstart/eks-blueprint ``` -This message means that the version of CDK that the customer is using is different from the version of CDK used in EKS Blueprints. Locate the line `peer bundled` and check the expected version of the CDK. Make sure that in your `package.json` the version is set to the expected. In this example, `package.json` contained `"aws-cdk-lib": "2.130.0"`, while the expected version was `2.132.0`. +This message means that the version of CDK that the customer is using is different from the version of CDK used in EKS Blueprints. Locate the line `peer bundled` and check the expected version of the CDK. Make sure that in your `package.json` the version is set to the expected. In this example, `package.json` contained `"aws-cdk-lib": "2.130.0"`, while the expected version was `2.133.0`. **Note**: after the initial installation, upgrading the version of CDK to an incompatible higher/lower version will produce a warning, but will succeed. For community support (submitting GitHub issues) please make sure you have a matching version configured. @@ -66,7 +66,7 @@ Example warning: ``` npm WARN npm WARN Could not resolve dependency: -npm WARN peer bundled aws-cdk-lib@"2.132.0" from @aws-quickstart/eks-blueprints@1.14.0 +npm WARN peer bundled aws-cdk-lib@"2.133.0" from @aws-quickstart/eks-blueprints@1.14.0 ``` ## Deploy EKS Clusters diff --git a/docs/internal/ci.md b/docs/internal/ci.md index ff38b1b0a..60d23e968 100644 --- a/docs/internal/ci.md +++ b/docs/internal/ci.md @@ -19,7 +19,7 @@ cd cdk-eks-blueprints Install CDK (please review and install any missing [pre-requisites](https://docs.aws.amazon.com/cdk/latest/guide/getting_started.html) for your environment) ```sh -npm install -g aws-cdk@2.132.0 +npm install -g aws-cdk@2.133.0 ``` Install the dependencies for this project. diff --git a/lib/pipelines/code-pipeline.ts b/lib/pipelines/code-pipeline.ts index b293f2ddb..7c9edf2e3 100644 --- a/lib/pipelines/code-pipeline.ts +++ b/lib/pipelines/code-pipeline.ts @@ -457,7 +457,7 @@ class CodePipeline { primaryOutputDirectory: `${path}/cdk.out`, installCommands: [ 'n stable', - 'npm install -g aws-cdk@2.132.0', + 'npm install -g aws-cdk@2.133.0', `cd $CODEBUILD_SRC_DIR/${path} && npm install` ], commands: [`cd $CODEBUILD_SRC_DIR/${path}`, 'npm run build', 'npx cdk synth ' + app] diff --git a/package.json b/package.json index 5280a91b5..6951f94c3 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "semver": "^7.6.0" }, "peerDependencies": { - "aws-cdk-lib": "2.132.0", - "aws-cdk": "2.132.0" + "aws-cdk-lib": "2.133.0", + "aws-cdk": "2.133.0" } }