From f75e9861af692523d2886e0eb17abcc241404005 Mon Sep 17 00:00:00 2001 From: so0k Date: Fri, 20 Mar 2026 16:23:51 +0700 Subject: [PATCH] fix: correct provider-aws version constraints in upgrade guide MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The @cdktn/provider-aws package was never published at v20.x — the earliest available version is 21.23.0. Updates TypeScript, Python, and Go examples to use ^23.0.0 which matches actual published releases. Closes #8 Co-Authored-By: Claude Opus 4.6 (1M context) --- content/release/upgrade-guide-v0-22.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/release/upgrade-guide-v0-22.mdx b/content/release/upgrade-guide-v0-22.mdx index 1f0ed5f..35086db 100644 --- a/content/release/upgrade-guide-v0-22.mdx +++ b/content/release/upgrade-guide-v0-22.mdx @@ -35,7 +35,7 @@ The `cdktn` cli should be fully compatible with existing CDK for Terraform proje - "cdktf": "^0.21.0", + "cdktn": "^0.22.0", - "@cdktf/provider-aws": "^19.0.0" - + "@cdktn/provider-aws": "^22.0.0" + + "@cdktn/provider-aws": "^23.0.0" }, "devDependencies": { - "cdktf-cli": "^0.21.0" @@ -84,7 +84,7 @@ The `cdktn` cli should be fully compatible with existing CDK for Terraform proje + cdktn>=0.22.0 - cdktf-cdktf-provider-aws>=19.0.0 - + cdktn-provider-aws>=20.0.0 + + cdktn-provider-aws>=23.0.0 ``` **2. Update imports:** @@ -123,7 +123,7 @@ The `cdktn` cli should be fully compatible with existing CDK for Terraform proje - import "github.com/hashicorp/terraform-cdk-go/cdktf" + import "github.com/open-constructs/cdk-terrain-go/cdktn" - import "github.com/cdktf/cdktf-provider-aws-go/aws/v19/provider" - + import "github.com/cdktn-io/cdktn-provider-aws-go/aws/v20/provider" + + import "github.com/cdktn-io/cdktn-provider-aws-go/aws/v23/provider" // Update all cdktf.* references to cdktn.* - app := cdktf.NewApp(nil)