releases.shpreview
HashiCorp/CDK for Terraform

CDK for Terraform

$npx -y @buildinternet/releases show cdk-for-terraform
Mon
Wed
Fri
AprMayJunJulAugSepOctNovDecJanFebMarApr
Less
More
Releases2Avg0/wkVersionsv0.20.12 → v0.21.0
Jul 26, 2023

fix

  • fix: don't cross package boundaries for templates #3029
  • fix: use local NPM registry for running integration tests on unix systems #3031
  • fix: trying to fix tsc error by updating how we invoke ts projects #3033
  • fix(docs): python docs for aspect #3002

chore

  • chore: update vercel.json #3028
Jul 21, 2023

feat

  • feat(cli): allow skipping synth #2993

fix

  • fix(provider-generator): wrap dynamic block iterator .key and .value in Token.asString as simply concatenating it won't work in non-TS languages #3014
  • fix: remove old lerna option causing it to fail when building a matrix in CI runs #3004
  • fix: quote files in shared workflows #2994
  • fix: let workflow checkout different repositories #2991
  • fix(provider-generator): sanitize all comments #2990

chore

  • chore: fix link to examples #3015
  • chore: build example script should show stdout and stderr #3013
  • chore: retry pushing converted code in registry conversion #2999
  • chore: Convert should use a typescript project to convert within #2992
  • chore: update cdk.tf links #2989
  • chore: add registry translation workflow #2958
Jul 5, 2023

fix

  • fix: Handle */ sequences within variable descriptions and defaults for variables in modules #2986
  • fix: Upgrade @inquirer/prompts to resolve #2952 #2977
  • fix(tests): update integration test snapshot #2962
  • fix(cli): catch possible errors when trying to open a url #2961
  • fix(cli): Support PNPM when retrieving package dependency information #2959
  • fix(hcl2cdk): parse handling of null providers and aliases #2947
  • fix(hcl2cdk): use correct import path per language #2935
  • fix: do not always overwrite global.performance #2922

chore

  • chore(deps): upgrade semver version #2981
  • chore(docs): update doc links to new URLs #2979
  • chore: Add regression test for input on init #2978
  • chore: Update diagram in docs with new provider count #2974
  • chore: trigger project board update when issues modified #2973
  • chore: remove project board update script #2970
  • chore: use resource name only unless conflict #2956
  • chore: remove dependency updates #2950
  • chore: correct constructs docs "Through Validations" example #2927

feat

  • feat: Specific imports for convert #2946
  • feat: allow partial snippet translation #2920
Jun 15, 2023

feat

  • feat(provider-generator): allow removing big, cost intensive structures #2932
  • feat(cli): add flag to display memory / time used for get and synth #2914
  • feat(cli): Improve telemetry reporting #2840
  • feat: make testing more resilient towards usage with app.synth #2762
  • feat(provider-generator): Add docstring to main class generated for modules #2589

fix

  • fix(cli): exit ink app when done synthesizing #2933
  • fix(lib): Support Computed List<List<primitive>> #2850
  • fix(cli): Give hint when cdktf synth failed to create config #2714
  • fix(cli): Always run init, but selectively skip locking providers #2617

chore

  • chore: remove existing feature flags #2937
  • chore: remove legacy comment #2938
  • chore: pin all workflows after update #2926
  • chore: remove PR sizing #2925
  • chore: remove update snapshots CI job #2924
  • chore: fix CODEOWNERS #2921
  • chore: add merge queue and remove timechart #2909
  • chore(hcl2cdk): add testing infrastructure for convert in Python & CSharp #2716

refactor

  • refactor: exit after cdktf project commands finishes #2934
  • refactor(cli): upgrade inquirer to @inquirer/prompts #2853
Jun 1, 2023

In 0.16.2 the release to maven failed, we fixed the issue and release this version so that maven is included in the release.

May 31, 2023

fix

  • fix(provider-generator): remove duplicates between wrapper classes and interfaces generated from provider schemas #2895
  • fix(cli): run terraform init in serial so no text file is busy in the cache #2843
  • fix(cli): buffer the output from the Terraform CLI and only forward output that has been terminated by a newline #2844
  • fix(cli): fix no-color flag passing #2845
  • fix(hcl2cdk): Support conversion of functions that have variate arguments at the end #2833

chore

  • chore: Mock synth to make parallelism test fail less #2831
  • chore: Refactor hcl2cdk to read nicer #2826
Apr 27, 2023

fix

  • fix(cli): run terraform init in serial so no text file is busy in the cache #2843
  • fix(cli): buffer the output from the Terraform CLI and only forward output that has been terminated by a newline #2844
  • fix(cli): fix no-color flag passing #2845
  • fix(hcl2cdk): Support conversion of functions that have variate arguments at the end #2833

chore

  • chore: Mock synth to make parallelism test fail less #2831
  • chore: Refactor hcl2cdk to read nicer #2826
Apr 18, 2023

Breaking changes

Update to .NET 6.0

We updated our C# template to .NET 6.0 as JSII updated recently and dropped support for netcoreapp3.1:

The runtime library for .NET & generated .NET bindings will no longer support netcoreapp3.1 after this release. Users are advised to upgrade their apps to use net6.0 or net7.0 instead.

from JSII v.1.76.0 release notes

Changes to Terraform function bindings

Terraform functions are now generated based on the JSON schema returned by the new metadata functions command which is going to be added to the Terraform CLI in version 1.4 (PR #32487, already available in v1.4.0-beta2).

The following new functions were introduced:

The following functions changed:

  • Fn.parseInt() is now Fn.parseint() to match the format of all other functions
  • Fn.mergeLists() does not exist anymore, use Fn.concat() instead
  • Fn.mergeMaps() does not exist anymore, use Fn.merge() instead

As part of this change, we use the same parameter names as Terraform which might require changing keyword arguments in Python.

Fn.join(",", [src.stringResource.result, src.stringResource.result])
Fn.join(separator=",", value=[src.stringResource.result, src.stringResource.result])
Feb 16, 2023

fix

  • chore: update JSII to 1.75.0 #2653
  • fix(lib): zipmap arg validators #2633
Feb 9, 2023

fix

  • fix(cli): Remove @types/node-fetch from dependencies as those take precedence over direct devDependencies on @node/types #2623
Feb 6, 2023

chore

  • chore: Don't run terraform init when not required #2572
  • chore: additionally lock providers for linux only #2593
  • chore: refactor 'needs upgrade' #2570
  • chore: Update remaining Typescript documentation snippets #2564
  • chore: translate more csharp docs #2433
  • chore: translate rest of the docs to C# #2558
  • chore: run dotnet format #2559
  • chore: Update contributing #2479
  • chore: truly autoclose older GHA updater PRs #2546

fix

  • fix: rename CloudBackendProps to CloudBackendConfig in templates #2553
  • fix: switch back to offical image to fix issue with stale signature files #2588
  • fix: use correctly named syntax in comments #2562
  • fix(lib): Update special defaults #2523
  • fix(docs): camel -> snake case in resource escape hatches #2571
  • fix(docs): Go post mortem review feedback #2587
  • fix(docs): fix typo in CSharp example #2580
  • fix(docs): fix links to examples page #2574
  • fix(docs): add missing java remote backend example #2563
  • fix(docs): properties in create module example use snake case #2561

feat

  • feat: add cache flag for prettier to speed up subsequent runs #2556
  • feat: Add a wrap in stack optional param to cdktf convert #2539
  • feat(docs): Convert some code snippets in docs to Golang #2439
  • feat(docs): Translate Aspect example to Go #2445
  • feat(docs): Translate more examples to Go #2554
  • feat(docs): Translate more examples to Go #2560
  • feat(docs): Translate more examples to Go #2569
  • feat: also go through files not yet added to git #2567
Jan 27, 2023

feat

  • feat: create a plan file for non-TFC runs #2531

fix

  • fix: cdktf login issues #2543
  • fix(lib): don't use Fn.set on tagged cloud backend #2536
  • fix(provider-generator): use class based map abstractions #2530

chore

  • chore: actually autoclose older GHA updater PRs #2542
  • chore: fill out homebrew pr body #2537
  • chore: support soft sentinel overrides #2485
Jan 24, 2023

fix

  • fix(provider-generator): fix resources named 'provider' breaking the code generation #2504

chore

  • chore: autoclose older GHA updater PRs #2505
Jan 17, 2023

Breaking changes

Renaming of *Options and *Props to *Config

We had several exports where the configuration passed to constructs or functions was using a class with a different suffix then Config. If you are using a language like C#, Java, Python, or Go you might have needed to specify these classes in your CDKTF application. To simplify the usage we changed every suffix to be Config, so if you currently use one of the others please rename them to use the Config suffix. No options were changed in the process, only the names were aligned.

This would be one example of the change to be made (this is in Java):

import software.constructs.Construct;
import com.hashicorp.cdktf.App;
import com.hashicorp.cdktf.TerraformStack;
import com.hashicorp.cdktf.CloudBackend;
-import com.hashicorp.cdktf.CloudBackendProps;
+import com.hashicorp.cdktf.CloudBackendConfig;
import com.hashicorp.cdktf.NamedCloudWorkspace;

    public static class Demo extends TerraformStack{

        public Demo(Construct scope, String id){
            super(scope, id);
-            new CloudBackend(this, CloudBackendProps.builder()
+            new CloudBackend(this, CloudBackendConfig.builder()
                    .organization("hashicorp")
                    .workspaces(new NamedCloudWorkspace("demo"))
                    .build()
            );

Notice: CDKTF 0.15 bumps minimum Terraform version to 1.2

CDKTF is bumping the minimum supported version of Terraform from 1.0 to 1.2 starting from CDKTF version 0.15. This change is necessary as CDKTF 0.15 uses the Terraform CLI for planning and applying changes for Terraform Cloud and Terraform Enterprise instead of the API used in version 0.14.

Terraform promises compatibility between all v1.x releases, so there shouldn't be any issues with this change. The only changes between these versions are bug fixes, and new feature additions.

Please open an issue if you encounter any issues or bugs with this change.

Deprecation: We deprecate the feature flags that go into the context field of the cdktf.json

CDKTF used to use feature flags to enable potentially breaking behaviors in a release. These are no longer needed since most of the changes we introduce from here can not be hidden behind feature flags. When the feature flags are removed, the behavior will be the same as this configuration:

{
  "context": {
    "excludeStackIdFromLogicalIds": "true",
    "allowSepCharsInLogicalIds": "true"
  }
}

feat

  • feat(cli): Add cdktf provider list command #2270
  • feat(cli): support -var and -var-file terraform flags #2468
  • feat(cli): add -no-color tag #2307
  • feat: enable non-escaping mode for tokens #2179
  • feat: use our own pre-built package for node-pty to have builds for Nodejs 19 available #2478
  • feat(docs): Document node-gyp errors if no precompiled binaries are available and the target system misses a native toolchain #2497

fix

  • fix(cli): don't enquote args as they will be escaped and end up in the calls to Terraform #2493
  • fix: detect destroys on windows / TF version #2486
  • fix(tests): change Options -> Config as per #2471 #2482
  • fix(cli): windows fixes #2480
  • fix: limit concurrency for integration tests to 10 for each windows and linux #2474
  • fix(tests): Make version more stable #2467
  • fix: use older SHA from jsii superchain docker image #2465
  • fix: fix go build in pipeline #2464
  • fix(cli): remove newlines from tokens during terraform login #2459
  • fix(cli): abort apply if not all variables are known #2455
  • fix: Expose provider matcher to jest #2448
  • fix: Adds environment to keys to preserve case #2446
  • fix: Allow git access for sentry cli in docker #2426
  • fix: add path: dist for npm and pypi #2410

chore

  • chore: create upgrade guide #2494
  • chore: increase parallel limit (10->30) to speed up integration tests #2487
  • chore: disable cron for project board #2484
  • chore(docs): fix some docs #2483
  • chore: fix typo in function name #2462
  • chore: add a notice for minimum supported version to changelog #2461
  • chore: fix broken GHA version updater #2453
  • chore: update CODEOWNERS #2444
  • chore(docs): running snippet update tool revealed an existing snippet that is not up-to-date #2440
  • chore: update JSII #2428
  • chore: Support custom endpoints #2427
  • chore: create TFC/TFE workspace using the Terraform CLI #2424
  • chore: switch to SHA-based workflow pins #2422
  • chore: Update all documentation examples for Typescript #2421
  • chore: remove long-running hooks #2418
  • chore: translate documentation to csharp #2417
  • chore: add a refactoring guide #2413
  • chore: fix homebrew deploy step #2412
  • chore: add TFE information to TFC docs #2407
  • chore: deprecate feature flags #2498
  • chore: document variable flags #2495

refactor

  • refactor: rename all *Props and *Options classes and interfaces to *Config #2471
Dec 7, 2022

fix

  • fix: add completed tfc pending states #2398
  • fix: skip confirming on auto-apply enabled tfc workspaces #2397
  • fix(hcl2cdk): snapshot generated code instead of snapshotting that the function returns a promise #2392
  • fix: add required_version to json schema #2355

chore

  • chore: add provider-integration tests conditionally for PRs and to releases #2371
  • chore: increase operations per run of stale workflow #2363
  • chore: update github workflow actions #2361
  • chore(docs): Add Example for Complex input variables #2309
  • chore: add Terraform 1.3.4 to Docker container #2285

feat

  • feat(cli): prompt added in init - asks to use TFC when credentials are present #2386
  • feat(docs): document Token.nullValue() #2297
Dec 5, 2022

Breaking changes

We split up our cdktf-cli package into cdktf-cli for the UI parts, utilizing @cdktf/cli-core for the functionality. If you previously relied on the internal cdktf-cli/lib entrypoint you should switch to @cdktf/cli-core. This was never an official API, but we want to mention it here in case it breaks for anyone.

chore

  • chore: skip hcl2cdk tests for now #2384
  • chore: Update Digital Team Files #2383
  • chore: move from pr target to pr #2381
  • chore: fix finalizing the Sentry release #2379
  • chore: update workflows for new workflow endpoint #2378
  • chore: disable python edge test #2369
  • chore: only trigger unit tests once #2362
  • chore: use secret #2358
  • chore: document go version #2351
  • chore: fix stale workflow #2343
  • chore: add build step to ci #2338
  • chore: add workflows to auto-close and lock stale issues and PRs #2335
  • chore: add expression paranthesis #2332
  • chore: dedupe concurrency prefix #2330
  • chore: npm-check-updates && yarn upgrade #2329
  • chore: improve release pipelines #2328
  • chore: add GH Action that labels PRs #2325
  • chore(docs): Update remote-backends.mdx #2324
  • chore: ensure we run all tests on dependency updates #2323
  • chore: re-add run url #2320
  • chore: limit concurrency on releases #2318
  • chore: fix sentry release script #2317
  • chore: fix typo #2316
  • chore: offboard checks from PRs to main #2315
  • chore(docs): prepare for code samples in multiple languages #2314
  • chore: run CI more selectively #2313
  • chore: make feature flag tests more resilient to provider updates #2312
  • chore: additional potential speedup experiments for hcl2cdk unit tests #2311
  • chore(tests): enable go provider add tests #2308
  • chore: run linting and prettier as part of CI #2304
  • chore(docs): translate hcl-interop examples to c# #2288
  • chore: add workflow to update our github actions #2283
  • chore(docs): translate functions examples to c# #2277
  • chore(docs): translate data-sources examples to c# #2276
  • chore(docs): translate aspects example to c# #2273
  • chore(docs): translate all examples to python #2186
  • chore(docs): Translate Documentation Snippets for Java #2183

feat

  • feat(examples): python upcloud server #2366

fix

  • fix: pin yargs types version #2364
  • fix: Transition to planned state after cost estimation and policy checks with TFC/TFE #2360
  • fix(cli): don't fail with UsageError when determining whether a provider is installed as a pre-built provider #2348
  • fix: scoped packages need a publish config to be published to npm #2347
  • fix: scoped packages need a publish config to be published to npm #2346
  • fix(docs): fix header indentation causing no page contents sidebar for this page #2299
  • fix(hcl2json): don't overwrite crypto if it's set already #2282
  • fix: Graceful failures when using cdktf with non-admin tokens #2258
  • fix: Prevent any release jobs from triggering if no release is required #2158

refactor

  • refactor(cli): parse json according to schema #2286
  • refactor: extract asset and constructs example into separate files #2275
  • refactor(cli): move cli library into seperate package #2253
Nov 16, 2022

A broken import that only appeared in the bundled cdktf-cli that we publish broke the 0.14.0 release. This patch release fixes this.

fix

  • fix(provider-generator): fix cross package import which breaks the cdktf-cli release bundle #2302

chore

  • chore: document authoring cdktf constructs #2287
Nov 15, 2022

Breaking changes Back in October, we announced significant performance improvements with CDKTF version 0.13. These improvements required breaking changes for which we provided backward-compatible provider bindings in version 0.13. As announced, the 0.12 (non-namespaced) provider bindings will no longer work starting with CDKTF 0.14. Refer to the upgrade guide for 0.13 to learn how to update your imports for these changes.

feat

  • feat(cli): add provider upgrade command #2202
  • feat(cli): Add option to select providers to add with init #2184
  • feat(cli): only re-generate provider bindings on get if necessary #2266
  • feat(lib): expose operators on their own API class #2292
  • feat(lib): Introduce Token.nullValue() that allows to pass null to Terraform configurations in languages other than TypeScript #2284
  • feat(cli): Automatically Update Locked Providers #2020
  • feat(lib): Added testing matchers for Providers #2154
  • feat(lib): adds failed process output to test matcher APIs #1953 #2196

fix

  • fix(cli): do not check for version when DISABLE_VERSION_CHECK #2257
  • fix(docs): fix module code example #2256
  • fix(docs): fix links to pre-built provider repositories #2264
  • fix(docs): fix a couple of typos in stacks.mdx #2269
  • fix(examples): fix CI for Python examples #2291
  • fix: set global flag to be able to start search for code blocks at an index #2274

chore

  • chore(docs): Add CDK for Terraform to page titles #2278
  • chore: document Python hash error in local development #2272
  • chore: document JSII debug flags in contribution guide #2271
  • chore: update LICENSE #2268
  • chore(cli): Prevent minification when watching cdktf-cli #2262
  • chore(lib): Add deprecation notices to backends that were deprecated in Terraform v1.2.3 and removed in TF 1.3 #2261
  • chore: adding mgarrell777 to docs codeowners to be notified for docs changes #2259
  • chore: add ecs-microservices example #2252
  • chore: sync version and changelog from the 0.13.3 backported release #2251
  • chore: install pre-built provider with exact version #2249
  • chore: cache examples and terraform plugins #2213
Nov 3, 2022

fix

  • fix: Redact authorization header when error logging from TFC/TFE #2241
Oct 26, 2022

fix

  • fix(provider-generator): don't require arrays wrapping variable / output declarations #2199
  • fix(cli): Use 'id' as argument name for all templates #2119
  • fix(cli): use a custom user-agent when talking to TFC #2210
  • fix(cli): Ignore local obj/ dir in C# template #2217
  • fix(deps): Use apt instead of yum, since base image is debian based now #2216
  • fix: correctly denote all of our redirects as temporary because they might change #2218

chore

  • chore: Update Go to version 1.18 on windows workflows #2219
  • chore: Update Digital Team Files #2203
  • chore(cli): change url to pre-built providers to one we control #2181
  • chore(cli): Move things to src/ folder #2130
  • chore(deps): Update docker image to use new jsii/superchain tag #2214
  • chore(docs): rewrite internal redirects #2204

feat

  • feat: add CODEOWNERS file for automatic PR review assignment #2212
Latest
v0.21.0
Tracking Since
May 8, 2020
Last fetched Apr 18, 2026