Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 1.02 KB

File metadata and controls

15 lines (12 loc) · 1.02 KB

CDK for Terraform uses feature flags to enable potentially breaking behaviors in a release. Flags are stored as Runtime context values in cdktf.json as shown here.

{
  "language": "typescript",
  "app": "npm run --silent compile && node main.js",
  "context": {
      "excludeStackIdFromLogicalIds": "true"
  }
}

Feature flags are disabled by default, so existing projects that do not specify the flag will continue to work as expected with later CDKTF releases. New projects created using cdktf init include flags enabling all features available in the release that created the project. Edit cdktf.json to disable any flags for which you prefer the old behavior, or to add flags to enable new behaviors after upgrading the CDK for Terraform.

See the CHANGELOG in a given release for a description of any new feature flags added in that release. The CDKTF source file features.ts provides a complete list of all current feature flags.