Skip to content

Commit

Permalink
chore!: upgrade to cdktf 0.19.0 (#158)
Browse files Browse the repository at this point in the history
This PR initiates the upgrade of CDKTF from version `0.18.0` to version
`0.19.0`.
Unfortunately, not everything can be automated, and the following steps
need to be completed manually:
 
- [x] Update `@cdktf/provider-tfe` to a version compatible with
`[email protected]`
[here](https://github.com/cdktf/cdktf-multi-stack-tfe/blob/2aa8e48abe9dd9ccc6b3714403a2eea72eaf00b5/.projenrc.ts#L65).
Look up the version
[here](https://github.com/cdktf/cdktf-provider-tfe/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: Daniel Schmidt <[email protected]>
  • Loading branch information
team-tf-cdk and DanielMSchmidt authored Oct 18, 2023
1 parent f34b5b6 commit d27e5a3
Show file tree
Hide file tree
Showing 6 changed files with 169 additions and 145 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.

4 changes: 2 additions & 2 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { AutoMerge } from "./projenrc/automerge";
import { CustomizedLicense } from "./projenrc/customized-license";
import { UpgradeCDKTF } from "./projenrc/upgrade-cdktf";

const cdktfVersion = ">=0.18.0";
const cdktfVersion = ">=0.19.0";
const constructVersion = "^10.0.107";
const name = "cdktf-multi-stack-tfe";

Expand Down Expand Up @@ -63,7 +63,7 @@ new UpgradeCDKTF(project);

project.addPeerDeps(
`cdktf@${cdktfVersion}`,
"@cdktf/provider-tfe@>=9.0.0",
"@cdktf/provider-tfe@>=10.0.0",
`constructs@${constructVersion}`
);
project.addDevDeps("[email protected]", `cdktf-cli@${cdktfVersion}`);
Expand Down
22 changes: 22 additions & 0 deletions API.md

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

10 changes: 5 additions & 5 deletions package.json

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

12 changes: 6 additions & 6 deletions test/multi-stack-tfe.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ test("sets up all stacks created", () => {
\\"required_providers\\": {
\\"tfe\\": {
\\"source\\": \\"hashicorp/tfe\\",
\\"version\\": \\"0.48.0\\"
\\"version\\": \\"0.49.2\\"
}
}
}
Expand Down Expand Up @@ -227,7 +227,7 @@ test("sets the remoteStateConsumerIds when dependenies are set", () => {
\\"required_providers\\": {
\\"tfe\\": {
\\"source\\": \\"hashicorp/tfe\\",
\\"version\\": \\"0.48.0\\"
\\"version\\": \\"0.49.2\\"
}
}
}
Expand Down Expand Up @@ -397,7 +397,7 @@ test("uses workspace name override", () => {
\\"required_providers\\": {
\\"tfe\\": {
\\"source\\": \\"hashicorp/tfe\\",
\\"version\\": \\"0.48.0\\"
\\"version\\": \\"0.49.2\\"
}
}
}
Expand Down Expand Up @@ -507,7 +507,7 @@ test("uses workspace config options", () => {
\\"required_providers\\": {
\\"tfe\\": {
\\"source\\": \\"hashicorp/tfe\\",
\\"version\\": \\"0.48.0\\"
\\"version\\": \\"0.49.2\\"
}
}
}
Expand Down Expand Up @@ -611,7 +611,7 @@ test("uses workspace config options with per stack override", () => {
\\"required_providers\\": {
\\"tfe\\": {
\\"source\\": \\"hashicorp/tfe\\",
\\"version\\": \\"0.48.0\\"
\\"version\\": \\"0.49.2\\"
}
}
}
Expand Down Expand Up @@ -762,7 +762,7 @@ test("can propagate TFVariables from the base stack", () => {
\\"required_providers\\": {
\\"tfe\\": {
\\"source\\": \\"hashicorp/tfe\\",
\\"version\\": \\"0.48.0\\"
\\"version\\": \\"0.49.2\\"
}
}
},
Expand Down
Loading

0 comments on commit d27e5a3

Please sign in to comment.