-
Notifications
You must be signed in to change notification settings - Fork 454
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cef1a18
commit 5148307
Showing
16 changed files
with
36 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"language": "java", | ||
"app": "mvn -e -q compile exec:java", | ||
"terraformProviders": ["aws@~> 3.0"] | ||
"app": "mvn -e -q exec:java", | ||
"terraformProviders": ["aws@~> 5.9"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"language": "java", | ||
"app": "mvn -e -q compile exec:java", | ||
"app": "mvn -e -q exec:java", | ||
"terraformProviders": ["azurerm@~> 2.0.0"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"language": "java", | ||
"app": "mvn -e -q compile exec:java", | ||
"app": "mvn -e -q exec:java", | ||
"terraformProviders": ["google@~> 3.0"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"language": "java", | ||
"app": "mvn -e -q compile exec:java", | ||
"app": "mvn -e -q exec:java", | ||
"terraformProviders": ["ucloud/ucloud@~> 1.29.0"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"language": "java", | ||
"app": "mvn -e -q compile exec:java", | ||
"app": "mvn -e -q exec:java", | ||
"terraformProviders": ["hashicorp/null@~> 3.1.0"], | ||
"context": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"language": "java", | ||
"app": "mvn -e -q compile exec:java", | ||
"app": "mvn -e -q exec:java", | ||
"terraformProviders": [], | ||
"context": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"language": "java", | ||
"app": "mvn -e -q compile exec:java", | ||
"app": "mvn -e -q exec:java", | ||
"terraformProviders": [], | ||
"context": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"language": "java", | ||
"app": "mvn -e -q compile exec:java", | ||
"app": "mvn -e -q exec:java", | ||
"terraformProviders": [], | ||
"context": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"language": "java", | ||
"app": "mvn -e -q compile exec:java", | ||
"app": "mvn -e -q exec:java", | ||
"terraformProviders": [], | ||
"context": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"language": "java", | ||
"app": "mvn -e -q compile exec:java", | ||
"app": "mvn -e -q exec:java", | ||
"terraformProviders": ["hashicorp/null@~> 3.1.0", "hashicorp/random@= 3.1.3"], | ||
"context": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"language": "java", | ||
"app": "mvn -e -q compile exec:java", | ||
"app": "mvn -e -q exec:java", | ||
"terraformProviders": ["kreuzwerker/docker@~> 2.0"], | ||
"context": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
page_title: Upgrading to CDKTF Version 0.18 | ||
description: >- | ||
Performance improvements might require you to update your `cdktf.json` file. | ||
--- | ||
|
||
# Upgrading to CDK for Terraform Version 0.18 | ||
|
||
0.18 is focused around improving the synthetization performance across all languages. This means that the generated code is now faster to compile. We achieved this mostly by changing the way we generate the code for the Terraform configuration but also by updates within JSII, the tool we use to support multiple languages. | ||
|
||
## Java: Change the `app` field in your `cdktf.json` file for better performance | ||
|
||
If you are using Java and want to improve the performance of `cdktf synth` you can change your `app` field in your `cdktf.json` file from the default `mvn -e -q compile exec:java` to `mvn -e -q exec:java`. This will improve the performance of `cdktf synth` by 70-80%. | ||
|
||
```json | ||
{ | ||
"language": "java", | ||
"app": "mvn -e -q exec:java" | ||
} | ||
``` |