Skip to content

Commit

Permalink
chore!: upgrade to cdktf 0.20.0 (#298)
Browse files Browse the repository at this point in the history
This PR initiates the upgrade of CDKTF from version `0.19.0` to version
`0.20.0`.
Unfortunately, not everything can be automated, and the following steps
need to be completed manually:
 
- [x] Update `@cdktf/provider-null` to a version compatible with
`[email protected]`
[here](https://github.com/cdktf/cdktf-tf-module-stack/blob/106036d2d6b65652b68dabb2648b1f7980c6421d/.projenrc.ts#L78).
Look up the version
[here](https://github.com/cdktf/cdktf-provider-null/releases/).
- [x] Update `@cdktf/provider-random` to a version compatible with
`[email protected]`
[here](https://github.com/cdktf/cdktf-tf-module-stack/blob/106036d2d6b65652b68dabb2648b1f7980c6421d/.projenrc.ts#L79).
Look up the version
[here](https://github.com/cdktf/cdktf-provider-random/releases/).
- [x] Run `npx projen`
 
Please checkout this PR, complete the above steps, push the changes to
this branch, and then mark this PR as ready for review to complete the
upgrade. Thanks!

---------

Signed-off-by: team-tf-cdk <[email protected]>
Co-authored-by: Ansgar Mertens <[email protected]>
  • Loading branch information
team-tf-cdk and ansgarm authored Jan 10, 2024
1 parent e872cc0 commit fe8f44f
Show file tree
Hide file tree
Showing 9 changed files with 270 additions and 42 deletions.
6 changes: 3 additions & 3 deletions .projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const project = new ConstructLibraryCdktf({
},
},
minMajorVersion: 1,
cdktfVersion: "0.19.0",
cdktfVersion: "0.20.0",
description:
"A drop-in replacement for cdktf.TerraformStack that lets you define Terraform modules as constructs" /* The description is just a string that helps people understand the purpose of the package. */,
workflowGitIdentity: {
Expand Down Expand Up @@ -79,10 +79,10 @@ new AutoApprove(project);
new Automerge(project);
new UpgradeCDKTF(project);

project.addPeerDeps("cdktf@>=0.19.0", "constructs@^10.0.25");
project.addPeerDeps("cdktf@>=0.20.0", "constructs@^10.0.25");
project.addDevDeps(
"@cdktf/provider-null@>=9.0.0",
"@cdktf/provider-random@>=10.0.0"
"@cdktf/provider-null@>=10.0.0",
"@cdktf/provider-random@>=11.0.0"
);

new JsiiDocgen(project, {
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ By using the software in this repository, you acknowledge that:

## Compatibility

* `cdktf` >= 0.19.0
* `cdktf` >= 0.20.0
* `constructs` >= 10.0.25

## Available Packages
Expand Down
53 changes: 53 additions & 0 deletions docs/csharp.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fe8f44f

Please sign in to comment.